diff options
author | Artem Yunusov <nedrlab@gmail.com> | 2008-08-24 01:23:36 +0500 |
---|---|---|
committer | Artem Yunusov <nedrlab@gmail.com> | 2008-08-24 01:23:36 +0500 |
commit | 3837019c25397d92f476225b05a4e84667dbdc5e (patch) | |
tree | 526041dae3b754d4e7baed02da625379f0762c8f /markdown.py | |
parent | 809a075453f80643ef60ed511711ac0931dc563e (diff) | |
download | markdown-3837019c25397d92f476225b05a4e84667dbdc5e.tar.gz markdown-3837019c25397d92f476225b05a4e84667dbdc5e.tar.bz2 markdown-3837019c25397d92f476225b05a4e84667dbdc5e.zip |
more_comments test works fine now.
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: |