Valid markup go br

main
Bob Mottram 2020-07-10 15:43:27 +01:00
parent 1a15d07dfd
commit 3f44e0c881
1 changed files with 1 additions and 1 deletions

View File

@ -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