From 3f44e0c8813f79880fdf3921ba1a8675c00c9397 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 10 Jul 2020 15:43:27 +0100 Subject: [PATCH] Valid markup go br --- content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.py b/content.py index b7952ace6..bc3c9af4a 100644 --- a/content.py +++ b/content.py @@ -24,7 +24,7 @@ def dangerousMarkup(content: str) -> bool: contentSections = content.split('<') invalidStrings = ('script', 'canvas', 'style', 'abbr', 'frame', 'iframe', 'html', 'body', - 'hr', 'br') + 'hr') for markup in contentSections: if '>' not in markup: continue