U
    h                  
   @   sf   d Z ddlmZ eddeddeddiZeddeddedded	d
eddiZdddZdS )z
General functions for HTML manipulation, backported from Py3.

Note that this uses Python 2.7 code with the corresponding Python 3
module names and locations.
    )unicode_literals&z&amp;<z&lt;>z&gt;"z&quot;'z&#x27;Tc                 C   s*   t | trtd|r | tS | tS )z
    Replace special characters "&", "<" and ">" to HTML-safe sequences.
    If the optional flag quote is true (the default), the quotation mark
    characters, both double quote (") and single quote (') characters are also
    translated.
    zPass a unicode string)
isinstancebytesAssertionError	translate_escape_map_full_escape_map)squote r   P/var/www/html/venv/lib/python3.8/site-packages/future/backports/html/__init__.pyescape   s    
r   N)T)__doc__
__future__r   ordr   r   r   r   r   r   r   <module>   s      