Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib64/python2.7/site-packages/markupsafe/ |
| [Home] [System Details] [Kill Me] |
�
�]�Lc@s5dZddlmZd�Zd�Zd�ZdS(s�
markupsafe._native
~~~~~~~~~~~~~~~~~~
Native Python implementation the C module is not compiled.
:copyright: (c) 2010 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
i����(tMarkupcCset|d�r|j�Stt|�jdd�jdd�jdd�jdd �jd
d��S(s�Convert the characters &, <, >, ' and
" in string s to HTML-safe
sequences. Use this if you need to display text that might contain
such characters in HTML. Marks return value as markup string.
t__html__t&s&t>s>t<s<t's't"s"(thasattrRRtunicodetreplace(ts((s8/usr/lib64/python2.7/site-packages/markupsafe/_native.pytescapes
cCs|dkrt�St|�S(sMLike :func:`escape` but converts
`None` into an empty
markup string.
N(tNoneRR(R
((s8/usr/lib64/python2.7/site-packages/markupsafe/_native.pyt
escape_silentscCs"t|t�st|�}n|S(soMake
a string unicode if it isn't already. That way a markup
string is not converted back to unicode.
(t
isinstanceR(R
((s8/usr/lib64/python2.7/site-packages/markupsafe/_native.pytsoft_unicode'sN(t__doc__t
markupsafeRRR
R(((s8/usr/lib64/python2.7/site-packages/markupsafe/_native.pyt<module>
s