0

Hi,

I'd like some help on this - i have a textarea field, where the user can enter text. The line breaks (\n\r) has to act as real line breaks. So, i've successfully replaced the breaks with the <br /> tag, however, here's the problem - when the user edits these fields again, they appear as <br /> tags in the text field also. How do i nicely replace those tags back in the textarea line break style? Replacing <br /> with \n or \r didn't work.

Thanks

3
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by diafol
0

You have power over edit code right? Do just the opposite, before populating the Textarea, just replace breaks with line breaks

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.