aboutsummaryrefslogtreecommitdiffstats
path: root/markdown.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown.py')
-rw-r--r--markdown.py3
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())