Free Support Forum - aspose.com

Problem in writing html <br> tag to pdf file

Hello,

We have a problem with
tag while writing html to the pdf.

For example:

Dim html As String = "Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Donec
eu
est id enim feugiat bibendum:
-
lacinia justo
-
sed arcu et mauris euismod
luctus
"

Dim txt As Text = NewText(html)
txt.IsHtmlTagSupported = True
txt.TextInfo.IsUnicode = True

In the pdf file line breaks are missing (please see attached printscreen).

Could you have a look at this problem?
Thank you.

Hello Luba,

Thanks for considering Aspose.

I've tested the scenario with latest version of Aspose.Pdf for .NET 4.1.1 and I'm unable to notice the problem. The resultant PDF is in attachment. Please take a look.

In case you still face any problem or you've any further query, please feel free to contact.