summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--markdown/blockprocessors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/markdown/blockprocessors.py b/markdown/blockprocessors.py
index f61aecd..13bc477 100644
--- a/markdown/blockprocessors.py
+++ b/markdown/blockprocessors.py
@@ -367,6 +367,7 @@ class OListProcessor(BlockProcessor):
for line in block.split('\n'):
m = self.CHILD_RE.match(line)
if m:
+ # This is a new list item
# Check first item for the start index
if not items and self.TAG=='ol':
# Detect the integer value of first list item