+
    Dfj                        R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 ]
! ]! R^^^ 4      RR7      R	 4       t]
! ]! R^^^ 4      RR7      R
 4       t]
! ]! R^^^ 4      RR7      R 4       t]
! ]! R^^^ 4      RR7      R 4       tR# )z I hold HTML generation helpers.
escape)StringIO)Version)log)
deprecatedTwistedztwisted.web.template)replacementc                4    R\        V 4      ,           R,           # )z4Wrap <pre> tags around some text and HTML-escape it.z<pre>z</pre>r   )texts   &2/usr/lib/python3/dist-packages/twisted/web/html.pyPREr      s     VD\!H,,    c                     \        4       pVP                  R 4       V  F  pVP                  RV,          4       K  	  VP                  R4       VP                  4       # )<ul>
z<li> %s</li>
</ul>r   writegetvalue)lstioels   &  r   ULr      sI    	BHHX
!B&' HHW;;=r   c                     \        4       pVP                  R 4       V  F  w  r#VP                  RV RV R24       K  	  VP                  R4       VP                  4       # )r   z<li> <a href="z">z
</a></li>
r   r   )r   r   hrr   s   &   r   linkListr   "   sT    	BHHX
>"Rt;78 HHW;;=r   c                     V ! V/ VB #   \          d?    \        P                  ! RT : R24       \        P                  ! 4        \	        R4      u # i ; i)zoutput(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.
zError calling :zAn error occurred.)BaseExceptionr   msgerrr   )funcargskws   &*,r   outputr$   ,   sP    )T R   ).*+	'(()s   
 AAAN)__doc__htmlr   r   r   incrementalr   twisted.pythonr   twisted.python.deprecater   r   r   r   r$    r   r   <module>r+      s        / GIr1a(6LM- N-
 GIr1a(6LM N GIr1a(6LM N GIr1a(6LM) N)r   