Page 1 of 1

Text with "Allow html tags": transform new lines in <br>

Posted: Mon Oct 27, 2014 6:57 pm
by Fabio Pagano
Good morning.

I have a text field with "Allow html tags" selected. If in the text i have some "new line", they are ignored in the output. I know that this is the correct html rendering behavior, but is there a way to automatically transform these "new line" (which comes from fields stored in our database) in "<br>" tags if the field has "Allow html tags" selected?

Thank you.

Re: Text with "Allow html tags": transform new lines in <br>

Posted: Tue Oct 28, 2014 9:51 am
by HighAley
Hello.
Fabio Pagano wrote:I have a text field with "Allow html tags" selected. If in the text i have some "new line", they are ignored in the output. I know that this is the correct html rendering behavior, but is there a way to automatically transform these "new line" (which comes from fields stored in our database) in "<br>" tags if the field has "Allow html tags" selected?
Unfortunately, there is no any option that will change new line symbols to <br> tags.

Thank you.