%PDF- %PDF-
Direktori : /proc/227033/root/opt/alt/python27/lib64/python2.7/site-packages/markupsafe/ |
Current File : //proc/227033/root/opt/alt/python27/lib64/python2.7/site-packages/markupsafe/_native.pyc |
� 2a�Qc @ sE d Z d d l m Z d d l m Z d � Z d � Z d � Z d S( 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����( t Markup( t text_typec C se t | d � r | j � St t | � j d d � j d d � j d d � j d d � j d 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 "( t hasattrR R R t replace( t s( ( sE /opt/alt/python27/lib64/python2.7/site-packages/markupsafe/_native.pyt escape s c C s | d k r t � St | � S( sM Like :func:`escape` but converts `None` into an empty markup string. N( t NoneR R ( R ( ( sE /opt/alt/python27/lib64/python2.7/site-packages/markupsafe/_native.pyt escape_silent s c C s"