the scene:
I'm retrieving text from a textarea, sending it to the database and displaying it back to a textarea later on.
the problem:
when the text go back to the textarea, the "\n" are appearing IN the textarea.
Looks like the browser (ie 5) doesn't transform them into newlines.
I already made it work so I did understand the concept but now i'm missing something.
I'm using ISO-8859-1 as the character set, the text in the database looks nice (having the newlines).
I'm using XSL to transform into html, some templates are doing the replace to the newline with \n (and another for spaces which is working). The templates do works good since they spot the newlines and create the \n but these get displayed in the textarea...
final result is :
<'textarea'> line1 '\n' line2 <'/textarea'>
(the quotes doesn't appear, trying to keep the text normal...)
anyone with the light ?