cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Taffelt" <frank.taff...@interface-business.de>
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:

<textarea>lineone&#13 
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 
problem?

Frank

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message