Florian Lindner wrote:
Hello,
has anyone yet developed a widget for displaying text as HTML and keeping the
linebreaks / paragraphs?
Like a text becomes:
Hello,<br />
has anyone yet developed a widget for displaying text as HTML and keeping the
linebreaks / paragraphs?<br />
<p>A paragraph</>
when rendered.
Is something like that already existing?
wc.textpage: Simple text-based page content type for Zope 3
http://cheeseshop.python.org/pypi/wc.textpage/2.0.1
should do what you need.
RST, STX and Plaintext renderers are included, a HTML passthrough is
missing, but addable in a few lines of code.
Michael
--
http://zope.org/Members/d2m
http://planetzope.org
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users