From d35d02579ce75da9cb0f566581d50783c5728551 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 21 Nov 2022 12:54:58 +0000 Subject: [PATCH] Over-zealous markup check --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index daf821a8a..6d75dbe1a 100644 --- a/utils.py +++ b/utils.py @@ -1112,7 +1112,7 @@ def dangerous_markup(content: str, allow_local_network_access: bool) -> bool: """ separators = [['<', '>'], ['<', '>']] invalid_strings = [ - 'analytics', 'ampproject', 'googleapis', '_exec(' + 'ampproject', 'googleapis', '_exec(' ] if _is_dangerous_string_simple(content, allow_local_network_access, separators, invalid_strings):