o ,º]œã @sfdZddlmZedƒdedƒdedƒdiZedƒdedƒdedƒded ƒd ed ƒd iZddd„ZdS)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'TcCs*t|tƒr Jdƒ‚|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)Ú isinstanceÚbytesÚ translateÚ_escape_map_fullÚ _escape_map)ÚsÚquote©rú@/usr/lib/python3/dist-packages/future/backports/html/__init__.pyÚescapes  rN)T)Ú__doc__Ú __future__rÚordr r rrrrrÚs ÿ