diff options
Diffstat (limited to 'docs/change_log/release-2.6.md')
-rw-r--r-- | docs/change_log/release-2.6.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/change_log/release-2.6.md b/docs/change_log/release-2.6.md index 1799cde..c1aa956 100644 --- a/docs/change_log/release-2.6.md +++ b/docs/change_log/release-2.6.md @@ -46,8 +46,8 @@ from markdown.extensions import Extension class EscapeHtml(Extension): def extendMarkdown(self, md, md_globals): - del md.preprocessors['html_block'] - del md.inlinePatterns['html'] + del md.preprocessors['html_block'] + del md.inlinePatterns['html'] html = markdown.markdown(text, extensions=[EscapeHtml()]) ``` |