span to textarea with line breaks code example
Example: keep line breaks in textarea
// preserve line breaks ( \n -> <br> )
$_translated_text = nl2br($_original_text);
// preserve line breaks ( \n -> <br> )
$_translated_text = nl2br($_original_text);