From 0eb54f9ca5b9c36b8691c65620b5dc232b4ff53a Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 29 May 2023 17:52:25 +0200 Subject: [PATCH] plugin text syntaxes: fix `EscapeHTML` following massive snake_case renaming --- sat/plugins/plugin_misc_text_syntaxes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/plugins/plugin_misc_text_syntaxes.py b/sat/plugins/plugin_misc_text_syntaxes.py index dca9d436..65fbabe5 100644 --- a/sat/plugins/plugin_misc_text_syntaxes.py +++ b/sat/plugins/plugin_misc_text_syntaxes.py @@ -217,7 +217,7 @@ class TextSyntaxes(object): # XXX: we disable raw HTML parsing by default, to avoid parsing error # when the user is not aware of markdown and HTML class EscapeHTML(Extension): - def extend_markdown(self, md): + def extendMarkdown(self, md): md.preprocessors.deregister('html_block') md.inlinePatterns.deregister('html')