diff options
author | Rohan Jain <crodjer@gmail.com> | 2011-04-03 20:48:42 +0530 |
---|---|---|
committer | Rohan Jain <crodjer@gmail.com> | 2011-04-03 20:48:42 +0530 |
commit | f1a2d3763115c41a4f0159e2f98aa76330cc17e5 (patch) | |
tree | b42936696546ac487526a60147ac09a91a18ae60 | |
parent | 66ba06fa2ded87dc9042e0cd51da26f99ece8717 (diff) | |
download | python-markdown-f1a2d3763115c41a4f0159e2f98aa76330cc17e5.tar.gz |
add new list item comment
-rw-r--r-- | markdown/blockprocessors.py | 1 |
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 |