[Zope3-Users] Re: Widget for displaying Text das HTML

Michael Haubenwallner michael at d2m.at
Fri Mar 2 02:01:08 EST 2007


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



More information about the Zope3-users mailing list