From: Dr R. W. <rai...@gm...> - 2016-04-07 13:41:19
|
Waylan, On Wednesday, 2016-04-06 18:31:57 +0000, you wrote: > ... > If you would like HTML entities to be escaped as well as HTML tags, then you can remove the `entity` inlinePattern. Just add the appropriate line to your Extension class: > > class EscapeHtml(Extension): > def extendMarkdown(self, md, md_globals): > del md.preprocessors['html_block'] > del md.inlinePatterns['html'] > del md.inlinePatterns['entity'] > > Hope that helps. Works like a charme, thankyou :-) Sincerely, Rainer |