Over-zealous markup check

merge-requests/30/head
Bob Mottram 2022-11-21 12:54:58 +00:00
parent 9d7e90a908
commit d35d02579c
1 changed files with 1 additions and 1 deletions

View File

@ -1112,7 +1112,7 @@ def dangerous_markup(content: str, allow_local_network_access: bool) -> bool:
"""
separators = [['<', '>'], ['&lt;', '&gt;']]
invalid_strings = [
'analytics', 'ampproject', 'googleapis', '_exec('
'ampproject', 'googleapis', '_exec('
]
if _is_dangerous_string_simple(content, allow_local_network_access,
separators, invalid_strings):