aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohan Jain <crodjer@gmail.com>2011-04-03 20:48:42 +0530
committerRohan Jain <crodjer@gmail.com>2011-04-03 20:48:42 +0530
commitf1a2d3763115c41a4f0159e2f98aa76330cc17e5 (patch)
treeb42936696546ac487526a60147ac09a91a18ae60
parent66ba06fa2ded87dc9042e0cd51da26f99ece8717 (diff)
downloadmarkdown-f1a2d3763115c41a4f0159e2f98aa76330cc17e5.tar.gz
markdown-f1a2d3763115c41a4f0159e2f98aa76330cc17e5.tar.bz2
markdown-f1a2d3763115c41a4f0159e2f98aa76330cc17e5.zip
add new list item comment
-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