
    c                     H    d Z ddlmZ ddlmZ dZ G d de          Zd Zd	S )
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dS )Nl2BrExtensionc                 h    t          t          d          }|j                            |dd           d S )Nbrnl   )r   BR_REinlinePatternsregister)selfmdbr_tags      9lib/python3.11/site-packages/markdown/extensions/nl2br.pyextendMarkdownzNl2BrExtension.extendMarkdown   s2    -eT::
""6433333    N)__name__
__module____qualname__r    r   r   r   r      s#        4 4 4 4 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 9 9 9 9 94 4 4 4 4Y 4 4 4$ $ $ $ $r   