Fix. Fix problem wich version package in requirements and add test markdown and rewrite for new markdown

This commit is contained in:
Alex
2022-08-06 18:34:16 +07:00
parent a28569a984
commit cf5be66fae
3 changed files with 6 additions and 6 deletions

View File

@ -50,9 +50,9 @@ def format_time_spent(time_spent):
class EscapeHtml(Extension):
def extendMarkdown(self, md, md_globals):
del md.preprocessors['html_block']
del md.inlinePatterns['html']
def extendMarkdown(self, md):
md.preprocessors.deregister('html_block')
md.inlinePatterns.deregister('html')
def get_markdown(text):