diff options
Diffstat (limited to 'markdown/extensions/sane_lists.py')
-rw-r--r-- | markdown/extensions/sane_lists.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/markdown/extensions/sane_lists.py b/markdown/extensions/sane_lists.py index e1f2fc3..f464ac0 100644 --- a/markdown/extensions/sane_lists.py +++ b/markdown/extensions/sane_lists.py @@ -28,8 +28,9 @@ class SaneOListProcessor(OListProcessor): def __init__(self, parser): OListProcessor.__init__(self, parser) - self.CHILD_RE = re.compile(''.join([ - r'^[ ]{0,', str(self.tab_length - 1), r'}((\d+\.))[ ]+(.*)'])) + self.CHILD_RE = re.compile( + ''.join([r'^[ ]{0,', str(self.tab_length - 1), + r'}((\d+\.))[ ]+(.*)'])) class SaneUListProcessor(UListProcessor): @@ -38,8 +39,9 @@ class SaneUListProcessor(UListProcessor): def __init__(self, parser): UListProcessor.__init__(self, parser) - self.CHILD_RE = re.compile(''.join([ - r'^[ ]{0,', str(self.tab_length - 1), r'}(([*+-]))[ ]+(.*)'])) + self.CHILD_RE = re.compile( + ''.join([r'^[ ]{0,', str(self.tab_length - 1), + r'}(([*+-]))[ ]+(.*)'])) class SaneListExtension(Extension): |