From caef3e90d46830db37888a7f7f897c450cf4f1e7 Mon Sep 17 00:00:00 2001 From: Yuri Takhteyev Date: Sun, 20 Jul 2008 00:15:08 -0700 Subject: Fixing ticket 000007 (Ordered and unordered list merged). --- markdown.py | 3 +-- 1 file changed, 1 insertion(+), 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()) -- cgit v1.2.3