diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-11-12 23:21:25 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-11-13 23:27:23 -0500 |
commit | ea16c8dd8d0fc107f26f92f80d13c83e88c529e4 (patch) | |
tree | b711d45d2b5bf68c43805cb17be5c0889cb12b1b /markdown.py | |
parent | 45f96216f7ecc24444333186dbfdfa66230ef080 (diff) | |
download | markdown-ea16c8dd8d0fc107f26f92f80d13c83e88c529e4.tar.gz markdown-ea16c8dd8d0fc107f26f92f80d13c83e88c529e4.tar.bz2 markdown-ea16c8dd8d0fc107f26f92f80d13c83e88c529e4.zip |
Fixed a streange anomily in whitespace a start of p and li tags. Mostly odd tests corrected.
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: |