Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 5, 2024
1 parent d5c91cf commit 0bb7777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/PortalTransforms/transforms/safe_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def scrub_html(self, orig):
if not orig or not (
hasScript(orig_text)
or "<" in orig_text
or any((entity in orig_text for entity in html5entities.values()))
or any(entity in orig_text for entity in html5entities.values())
):
return orig_text
# append html tag to create a dummy parent for the tree
Expand Down

0 comments on commit 0bb7777

Please sign in to comment.