mirror of https://gitlab.com/bashrc2/epicyon
Valid markup go br
parent
1a15d07dfd
commit
3f44e0c881
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue