| Trees | Indices | Help |
|
|---|
|
|
| Classes | |
|
TracHTMLSanitizer Sanitize HTML constructions which are potentially vector of phishing or XSS attacks, in user-supplied HTML. |
|
|
Deuglifier Help base class used for cleaning up HTML riddled with <FONT COLOR=...> tags and replace them with appropriate <span class="...">. |
|
|
FormTokenInjector Identify and protect forms from CSRF attacks. |
|
| Functions | |||
unicode
|
|
||
| Markup |
|
||
|
|||
|
|||
|
|||
|
|||
| Variables | |
tag = <genshi.builder.ElementFactory object at 0x7f4932e45810>
|
|
html = <trac.util.html.TransposingElementFactory object at 0x7
|
|
| Function Details |
Reverse-escapes &, <, >, and " and returns a >>> unescape(Markup('1 < 2')) '1 < 2' If the provided >>> unescape('1 < 2') '1 < 2'
|
Create a Markup instance from a string and escape special characters it may contain (<, >, & and "). >>> escape('"1 < 2"') <Markup u'"1 < 2"'> If the >>> escape('"1 < 2"', quotes=False) <Markup u'"1 < 2"'>
|
|
| Variables Details |
html
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Jul 5 01:50:09 2023 | http://epydoc.sourceforge.net |