diff options
author | Waylan Limberg <waylan@gmail.com> | 2010-01-02 21:44:56 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2010-01-03 11:39:29 -0500 |
commit | 75504dedd3d309dae9158087731a967ec6725b57 (patch) | |
tree | 45d4e4df0d676a937185e5add579dacc185d0c50 /markdown/preprocessors.py | |
parent | 6b1a159bc6fa5ffa6eb311d61f40595af5c19650 (diff) | |
download | markdown-75504dedd3d309dae9158087731a967ec6725b57.tar.gz markdown-75504dedd3d309dae9158087731a967ec6725b57.tar.bz2 markdown-75504dedd3d309dae9158087731a967ec6725b57.zip |
Fixed ticket 44. Raw HTML now maintains original whitespace. Important inside raw <pre> tags.
Diffstat (limited to 'markdown/preprocessors.py')
-rw-r--r-- | markdown/preprocessors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/preprocessors.py b/markdown/preprocessors.py index ef04cab..5342d44 100644 --- a/markdown/preprocessors.py +++ b/markdown/preprocessors.py @@ -169,7 +169,7 @@ class HtmlBlockPreprocessor(Preprocessor): new_blocks.append(block) else: - items.append(block.strip()) + items.append(block) right_tag, data_index = self._get_right_tag(left_tag, block) |