diff options
Diffstat (limited to 'markdown.py')
-rwxr-xr-x | markdown.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown.py b/markdown.py index 6b43c66..fc93238 100755 --- a/markdown.py +++ b/markdown.py @@ -481,10 +481,10 @@ class PBlockProcessor(BlockProcessor): if parent.text: parent.text = '%s\n%s' % (parent.text, block) else: - parent.text = block + parent.text = block.lstrip() else: p = etree.SubElement(parent, 'p') - p.text = block + p.text = block.lstrip() class BlockParser: |