aboutsummaryrefslogtreecommitdiffstats
path: root/markdown.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown.py')
-rwxr-xr-xmarkdown.py2
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