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:
1 parent
83d4dd16ad
commit
c049061084
1 file changed
+3
-3
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user