mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Skip Markdown metadata parsing within metadata
This commit is contained in:
parent
4db9b944a2
commit
5d6513c36c
4 changed files with 24 additions and 0 deletions
|
|
@ -302,6 +302,9 @@ class MarkdownReader(BaseReader):
|
|||
"""Return the dict containing document metadata"""
|
||||
formatted_fields = self.settings['FORMATTED_FIELDS']
|
||||
|
||||
# prevent metadata extraction in fields
|
||||
self._md.preprocessors.pop('meta', None)
|
||||
|
||||
output = {}
|
||||
for name, value in meta.items():
|
||||
name = name.lower()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue