textarea removes whitelines?

yacc

New Member
I have multiline textbox in ASP.NET which renders to a textarea element. I set the Text property to a string like\[code\]test\r\n\r\n\r\ntest2\[/code\]but it only renders like\[code\]testtest2\[/code\]in the textarea while I expected something like this to be rendered:\[code\]testtest2\[/code\]It seems the textarea eats the whitelines. How to overcome this?
 
Back
Top