Newline and break tag in textarea.

Newline and break tag in textarea.

ngungongungo Posts: 64Questions: 23Answers: 2
edited February 2017 in Editor

Example link.
The CR and LF seem not working in textarea (i.e. not converted to <br> tag). I would appreciate any ideas. Thank you in advance.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Answer ✓

    They shouldn't be converted to a <br> since that might not be what you want (e.g. you might want the \n to use it in a pre tag.

    If you do want to change them you would use a customer renderer with a simple replace.

    Allan

This discussion has been closed.