\c @@ sr d Z d d l m Z d d l m Z d d l m Z d d l m Z d Z d e f d
YZ d d Z d S(
u
NL2BR Extension
===============
A Python-Markdown extension to treat newlines as hard breaks; like
GitHub-flavored Markdown does.
Usage:
>>> import markdown
>>> print markdown.markdown('line 1\nline 2', extensions=['nl2br'])
line 1
line 2
Copyright 2011 [Brian Neal](http://deathofagremmie.com/)
Dependencies:
* [Python 2.4+](http://python.org)
* [Markdown 2.1+](http://packages.python.org/Markdown/)
i ( t absolute_import( t unicode_literalsi ( t Extensioni ( t SubstituteTagPatternu \nt Nl2BrExtensionc B@ s e Z d Z RS( c C@ s) t t d } | j j d | d d S( Nu bru nlu _end( R t BR_REt inlinePatternst add( t selft mdt
md_globalst br_tag( ( s= /usr/lib/python2.7/site-packages/markdown/extensions/nl2br.pyt extendMarkdown s ( t __name__t
__module__R ( ( ( s= /usr/lib/python2.7/site-packages/markdown/extensions/nl2br.pyR s c C@ s
t | S( N( R ( t configs( ( s= /usr/lib/python2.7/site-packages/markdown/extensions/nl2br.pyt
makeExtension% s N( t __doc__t
__future__R R t R t inlinepatternsR R R t NoneR ( ( ( s= /usr/lib/python2.7/site-packages/markdown/extensions/nl2br.pyt s