keep line breaks in textarea
// preserve line breaks ( \n -> <br> )
$_translated_text = nl2br($_original_text);
keep line breaks in textarea
// preserve line breaks ( \n -> <br> )
$_translated_text = nl2br($_original_text);
save line breaks in textarea
<p style="white-space:pre-warp">multi-line text</p>
mat-form-field textarea save with new line
white-space: pre-wrap
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us