Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/web/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/web/__pycache__/html.cpython-310.pyc
o

�b�@s�dZddlmZddlmZddlmZddlmZddl	m
Z
e
eddd	d�d
d�dd
��Ze
eddd	d�d
d�dd��Ze
eddd	d�d
d�dd��Z
e
eddd	d�d
d�dd��ZdS)z I hold HTML generation helpers.
���escape)�StringIO)�Version)�log)�
deprecated�Twisted��ztwisted.web.template)�replacementcCsdt|�dS)z4Wrap <pre> tags around some text and HTML-escape it.z<pre>z</pre>r)�text�r
�2/usr/lib/python3/dist-packages/twisted/web/html.py�PREsrcCs:t�}|�d�|D]	}|�d|�q
|�d�|��S)N�<ul>
z
<li> %s</li>
�</ul>�r�write�getvalue)�lst�io�elr
r
r�ULs

rcCsHt�}|�d�|D]\}}|�d|�d|�d��q
|�d�|��S)Nrz<li> <a href="z">z
</a></li>
rr)rr�hrrr
r
r�linkList"s

rcOsFz||i|��WSty"t�d|�d��t��td�YSw)z�output(func, *args, **kw) -> html string
    Either return the result of a function (which presumably returns an
    HTML-legal string) or a sparse HTMLized error message and a message
    in the server log.
    zError calling �:zAn error occurred.)�
BaseExceptionr�msg�errr)�func�args�kwr
r
r�output,s�r"N)�__doc__�htmlrrr�incrementalr�twisted.pythonr�twisted.python.deprecaterrrrr"r
r
r
r�<module>s

	
	

Spamworldpro Mini