mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix for issue #761: handle unicode correctly in summary for Markdown
This commit is contained in:
parent
ea6f0d8bef
commit
0548b62441
5 changed files with 39 additions and 7 deletions
|
|
@ -162,7 +162,7 @@ class MarkdownReader(Reader):
|
|||
for name, value in meta.items():
|
||||
name = name.lower()
|
||||
if name == "summary":
|
||||
summary_values = "\n".join(str(item) for item in value)
|
||||
summary_values = "\n".join(value)
|
||||
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