from textarea html save and return with same line spacing 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);