diff options
Diffstat (limited to 'markdown.py')
-rwxr-xr-x | markdown.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/markdown.py b/markdown.py index ba1c687..baa015a 100755 --- a/markdown.py +++ b/markdown.py @@ -365,7 +365,8 @@ class HtmlBlockPreprocessor(TextPreprocessor): else: #if not block[1] == "!": # if is block level tag and is not complete - if isBlockLevel(left_tag): + if isBlockLevel(left_tag) or left_tag == "--" \ + and not block.rstrip().endswith(">"): items.append(block.strip()) in_tag = True else: |