mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #885 from avaris/markdown-summary-footnote
Markdown summary should not include content footnote
This commit is contained in:
commit
71150430a9
4 changed files with 50 additions and 1 deletions
|
|
@ -173,6 +173,8 @@ class MarkdownReader(Reader):
|
|||
name = name.lower()
|
||||
if name == "summary":
|
||||
summary_values = "\n".join(value)
|
||||
# reset the markdown instance to clear any state
|
||||
self._md.reset()
|
||||
summary = self._md.convert(summary_values)
|
||||
output[name] = self.process_metadata(name, summary)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue