Text with "Allow html tags": transform new lines in <br>
Posted: Mon Oct 27, 2014 6:57 pm
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.
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.