Skip to content
Snippets Groups Projects
Commit aba5c44a authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

allow simple underline

closes #190
parent 91fbd39c
No related branches found
No related tags found
No related merge requests found
Pipeline #153977 failed
......@@ -216,6 +216,8 @@ __MARKDOWN_WHITE_LIST = [
'</center>',
'<code>',
'</code>',
'<u>',
'</u>',
]
]
......
......@@ -115,12 +115,15 @@ class AllTestCase(TooledTestCase):
"<script",
"<meta",
"<img",
"<u"
]:
self.assertNotIn(banned_tag, markdown(f'{banned_tag} foo="bar"/>'))
for allowed_tag in [
"<center>",
"<br>",
"<br/>",
"<u>",
"</u>",
"<hr>",
"<hr/>",
]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment