Merge pull request #885 from avaris/markdown-summary-footnote

Markdown summary should not include content footnote
This commit is contained in:
Justin Mayer 2013-05-13 15:36:39 -07:00
commit 71150430a9
4 changed files with 50 additions and 1 deletions

View file

@ -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: