cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Taffelt" <>
Subject esql fills textarea
Date Wed, 24 Jul 2002 17:22:58 GMT
i have a problem to populate a html textarea correctly.
the problem occurs when outping content, that contain
linebreak chars.

suppose the following example:
  * esql gives a formated string: "line one\r\nline two"
  * some xsl transformation steps
  * html serializer 

the html output is something like this:

line two</textarea>

-> the carriage return char is referenced as an entity 
which is not properly rendered (the result contains 3 lines 
of text instead of 2 ).

is this the correct behaviour, that carriage return is handled differently 
from linefeeds or has anybody some suggestions how to solve this 


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message