add line break to textarea code example
Example 1: keep line breaks in textarea
// preserve line breaks ( \n -> <br> )
$_translated_text = nl2br($_original_text);
Example 2: jtextarea automatic line break
textArea.setLineWrap(true);
textArea.setWrapStyleWord(true);