Free Support Forum - aspose.com

<br /> tag being ignored

Hi,

I am having an issue with Aspose.Pdf for .NET. Consider the following code:

Aspose.Pdf.Text t = new Aspose.Pdf.Text("

Here is some text.
Here is the next line of text.

");
t.IsHtmlTagSupported = true;

The pdf rendered in this case is:
Here is some text.Here is the next line of text.

If I change it to

Aspose.Pdf.Text t = new Aspose.Pdf.Text("

Here is some text#$NLHere is the next line of text.

");
t.IsHtmlTagSupported = true;

I get:
Here is some text.#$NLHere is the next line of text.

I am expecting:
Here is some text.
Here is the next line of text.

I am using Aspose.Pdf 4.1.0.0

Please help.

Hello Scott,

Thanks for considering Aspose.

I'm pleased to inform you that the issue that you're facing, is resolved in Aspose.Pdf for .NET 4.1.1, which can be accessed over this link. I've tested the scenario with this version and I'm unable to notice the problem. Can you please try using this version and In case you still face any problem or you've any further query, please feel free to contact.

For your reference, I've also attached the resultant PDF that I've generated. Please take a look.

We apologize for your inconvenience.

Thanks for the quick reply. The hotfix cured the problem.