mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix markup for single-paragraph summary in reST metadata
This commit is contained in:
parent
0d9298313f
commit
4df6179954
2 changed files with 7 additions and 2 deletions
|
|
@ -43,6 +43,10 @@ class Reader(object):
|
|||
|
||||
class _FieldBodyTranslator(HTMLTranslator):
|
||||
|
||||
def __init__(self, document):
|
||||
HTMLTranslator.__init__(self, document)
|
||||
self.compact_p = None
|
||||
|
||||
def astext(self):
|
||||
return ''.join(self.body)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue