H d Z ddlmZ ed d ed d ed diZ ed d ed d ed d ed d
ed diZddZdS )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&z>"z"'z'Tc t | t r
J 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.
zPass a unicode string)
isinstancebytes translate_escape_map_full_escape_map)squotes p/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/future/backports/html/__init__.pyescaper sP !U##<<%<<<# -{{+,,,;;{### N)T)__doc__
__future__r ordr r
r r r r s ( ' ' ' ' ' s3xx##c((FCCHHfECHHgss3xxS6CHHhD 8=
$
$
$
$
$
$r