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

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

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

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

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

Post 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.
Post Reply