Markdown replacements

merge-requests/30/head
Bob Mottram 2022-06-27 11:41:52 +01:00
parent d3b1b5acda
commit e65196a897
1 changed files with 6 additions and 6 deletions

View File

@ -34,10 +34,10 @@ def _markdown_emphasis_html(markdown: str) -> str:
'_,': '</ul>,', '_,': '</ul>,',
'_\n': '</ul>\n', '_\n': '</ul>\n',
' `': ' <em>', ' `': ' <em>',
'`.': '</em>', '`.': '</em>.',
'`:': '</em>', '`:': '</em>:',
'`;': '</em>', '`;': '</em>;',
'`\n': '</em>', '`\n': '</em>\n',
'` ': '</em> ' '` ': '</em> '
} }
for md_str, html in replacements.items(): for md_str, html in replacements.items():