[Twisted-Python] ParagraphText refuse to work
RITA Y/O RODRIGO DIAZ Y/O BENENSON
rdrb at 123.cl
Wed Aug 6 07:50:04 MDT 2003
Hi!
I have posted this question some time ago, but I got no answer.
I'm making a very simple Woven program that publish over web the content of a complex objects structure. So I created an IModel interface for the object.
The problem that I have is that some elements of the model return Strings. So I use the ParagraphText view. But it does not work as espected.
It should render "a\nb\nc" as:
<p>a</p><p>b</p><p>c</p>
but I only get:
<p>abc</p>
if I change ParagraphText by a Text view I got:
a
b
c
So it seems that the data arrive fine, but is not render as expected.
Where is the problem ?
I have checked the CVS but the code looks the same as for Twisted 1.0.6 (and with 1.0.5 the behaviour was the same).
I suppose that I'm doing something wrong. Please, support...
RodrigoB.
More information about the Twisted-Python
mailing list