mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Skip MD metadata parsing in latest Python-Markdown
The syntax for unloading Python-Markdown extensions has changed to a "deregister" method on Registry objects.
This commit is contained in:
parent
5d6513c36c
commit
e618becfc0
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ class MarkdownReader(BaseReader):
|
|||
formatted_fields = self.settings['FORMATTED_FIELDS']
|
||||
|
||||
# prevent metadata extraction in fields
|
||||
self._md.preprocessors.pop('meta', None)
|
||||
self._md.preprocessors.deregister('meta')
|
||||
|
||||
output = {}
|
||||
for name, value in meta.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue