diff options
-rwxr-xr-x | markdown.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/markdown.py b/markdown.py index 6bdeccb..09cfdea 100755 --- a/markdown.py +++ b/markdown.py @@ -910,8 +910,7 @@ class RawHtmlTextPostprocessor(TextPostprocessor): html = '' else: html = HTML_REMOVED_TEXT - - if not self.safeMode: + if safe or not self.safeMode: text = text.replace("<p>%s</p>" % (HTML_PLACEHOLDER % i), html + "\n") text = text.replace(HTML_PLACEHOLDER % i, html) |