Go to the latest version of this document.

# ``twisted`.`web`.`html``

module documentation
(source)

I hold HTML generation helpers.

Function | `linkList` | Undocumented
Function | `output` | 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.
Function | `PRE` | Wrap <pre> tags around some text and HTML-escape it.
Function | `UL` | Undocumented

def linkList(lst): (source)

Deprecated since version 15.3.0: `linkList` was deprecated in Twisted 15.3.0; please use `twisted.web.template` instead.

Undocumented

def output(func, *args, **kw): (source)

Deprecated since version 15.3.0: `output` was deprecated in Twisted 15.3.0; please use `twisted.web.template` instead.

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.

def PRE(text): (source)

Deprecated since version 15.3.0: `PRE` was deprecated in Twisted 15.3.0; please use `twisted.web.template` instead.

Wrap <pre> tags around some text and HTML-escape it.

def UL(lst): (source)

Deprecated since version 15.3.0: `UL` was deprecated in Twisted 15.3.0; please use `twisted.web.template` instead.

Undocumented