Class
zope.app.renderer.stx.StructuredTextToHTMLRenderer

A view to convert from Plain Text to HTML.

Example:

>>> from zope.publisher.browser import TestRequest
>>> source = StructuredTextSourceFactory(u'This is source.')
>>> renderer = StructuredTextToHTMLRenderer(source, TestRequest())
>>> renderer.render()
u'<p>This is source.</p>\n'

Make sure that unicode works as well:

>>> source = StructuredTextSourceFactory(u'This is \xc3\x9c.')
>>> renderer = StructuredTextToHTMLRenderer(source, TestRequest())
>>> renderer.render()
u'<p>This is \xc3\x9c.</p>\n'

Base classes

Implemented Interfaces

Attributes/Properties

There are no attributes in this class.

Methods

Known Subclasses

There are no known subclasses.