EscapeHtml.extendMarkdown disabled

Updated markdown caused failures.
Not sure what is going on with this class, 0 comments :-(
If someone could give me a hint as to what this is trying to achieve, I
can investigate further
This commit is contained in:
Martin Whitehouse
2022-07-20 16:32:51 +02:00
parent 08654bd9c4
commit fa91620bf9
2 changed files with 5 additions and 4 deletions

View File

@ -50,9 +50,10 @@ 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_globals=None):
# del md.preprocessors['html_block']
# del md.inlinePatterns['html']
pass
def get_markdown(text):