Fix build_manpage.py with newer markdown versions

The markdown python changed its API for markdown extensions.

Bumping the markdown package version in previous commits broke
docs/build_manpage.py since it was using registering an extension with
the old API.
This commit is contained in:
Emanuele Torre authored and Nico Williams committed 2023-07-11 00:24:50 -05:00
1 parent 83d4dd16ad
commit c049061084
1 file changed
+3 -3
+3 -3
View File
@@ -12,9 +12,9 @@ import yaml
# Prevent our markdown parser from trying to help by interpreting things in angle brackets as HTML tags.
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')
class RoffWalker(object):