From f1a2d3763115c41a4f0159e2f98aa76330cc17e5 Mon Sep 17 00:00:00 2001 From: Rohan Jain Date: Sun, 3 Apr 2011 20:48:42 +0530 Subject: add new list item comment --- markdown/blockprocessors.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3