
    -Be                     @    d Z ddlmZ ddlmZ dZ G d de      Zd Zy	)
a  
NL2BR Extension
===============

A Python-Markdown extension to treat newlines as hard breaks; like
GitHub-flavored Markdown does.

See <https://Python-Markdown.github.io/extensions/nl2br>
for documentation.

Oringinal code Copyright 2011 [Brian Neal](https://deathofagremmie.com/)

All changes Copyright 2011-2014 The Python Markdown Project

License: [BSD](https://opensource.org/licenses/bsd-license.php)

   )	Extension   )SubstituteTagInlineProcessorz\nc                       e Zd Zd Zy)Nl2BrExtensionc                 ^    t        t        d      }|j                  j                  |dd       y )Nbrnl   )r   BR_REinlinePatternsregister)selfmdbr_tags      9lib/python3.12/site-packages/markdown/extensions/nl2br.pyextendMarkdownzNl2BrExtension.extendMarkdown   s&    -eT:
""643    N)__name__
__module____qualname__r    r   r   r   r      s    4r   r   c                      t        di | S )Nr   )r   )kwargss    r   makeExtensionr       s    #F##r   N)__doc__ r   inlinepatternsr   r   r   r   r   r   r   <module>r      s(   $  94Y 4$r   