Allow empty summary
This commit is contained in:
parent
407b02f1fb
commit
3d88725c97
@ -40,6 +40,9 @@ class PandocReader(BaseReader):
|
|||||||
name, value = k.lower(), parsed[k]
|
name, value = k.lower(), parsed[k]
|
||||||
metadata[name] = self.process_metadata(name, value)
|
metadata[name] = self.process_metadata(name, value)
|
||||||
|
|
||||||
|
if (not 'summary' in metadata) or (metadata['summary'] is None):
|
||||||
|
metadata['summary'] = ''
|
||||||
|
|
||||||
# Return the text entirely.
|
# Return the text entirely.
|
||||||
content = "\n".join(text)
|
content = "\n".join(text)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user