<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import <EOL> from __future__ import unicode_literals <EOL> from . import Extension <EOL> from . . blockprocessors import OListProcessor , UListProcessor <EOL> import re <EOL> class SaneOListProcessor ( OListProcessor ) : <EOL> CHILD_RE = re . compile ( r'<STR_LIT>' ) <EOL> SIBLING_TAGS = [ '<STR_LIT>' ] <EOL> class SaneUListProcessor ( UListProcessor ) : <EOL> CHILD_RE = re . compile ( r'<STR_LIT>' ) <EOL> SIBLING_TAGS = [ '<STR_LIT>' ] <EOL> class SaneListExtension ( Extension ) : <EOL> """<STR_LIT>""" <EOL> def extendMarkdown ( self , md , md_globals ) : <EOL> """<STR_LIT>""" <EOL> md . parser . blockprocessors [ '<STR_LIT>' ] = SaneOListProcessor ( md . parser ) <EOL> md . parser . blockprocessors [ '<STR_LIT>' ] = SaneUListProcessor ( md . parser ) <EOL> def makeExtension ( configs = { } ) : <EOL> return SaneListExtension ( configs = configs ) </s>
