diff options
Diffstat (limited to 'markdown.py')
-rwxr-xr-x | markdown.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown.py b/markdown.py index a835627..93b2bc0 100755 --- a/markdown.py +++ b/markdown.py @@ -911,7 +911,7 @@ class RawHtmlTextPostprocessor(TextPostprocessor): else: html = HTML_REMOVED_TEXT - text = text.replace("<p>%s\n</p>" % (HTML_PLACEHOLDER % i), + text = text.replace("<p>%s</p>" % (HTML_PLACEHOLDER % i), html + "\n") text = text.replace(HTML_PLACEHOLDER % i, html) return text |