diff options
author | Yuri Takhteyev <yuri@freewisdom.org> | 2008-07-20 00:15:08 -0700 |
---|---|---|
committer | Yuri Takhteyev <yuri@freewisdom.org> | 2008-07-20 00:15:08 -0700 |
commit | caef3e90d46830db37888a7f7f897c450cf4f1e7 (patch) | |
tree | 8adf02ab86bbc0b655a519851d7cc77ef05c8fde | |
parent | bf7cf776daa26d734c10a6039efe64113f066045 (diff) | |
download | markdown-caef3e90d46830db37888a7f7f897c450cf4f1e7.tar.gz markdown-caef3e90d46830db37888a7f7f897c450cf4f1e7.tar.bz2 markdown-caef3e90d46830db37888a7f7f897c450cf4f1e7.zip |
Fixing ticket 000007 (Ordered and unordered list merged).
-rw-r--r-- | markdown.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/markdown.py b/markdown.py index 95c5f4b..86f83ab 100644 --- a/markdown.py +++ b/markdown.py @@ -1669,8 +1669,7 @@ class Markdown: break # Check if the next non-blank line is still a part of the list - if ( RE.regExp['ul'].match(next) or - RE.regExp['ol'].match(next) or + if ( RE.regExp[listexpr].match(next) or RE.regExp['tabbed'].match(next) ): # get rid of any white space in the line items[item].append(line.strip()) |