when adding html to paragraph i am finding that is forcing the text to break on to a new line.
i have put below the smallest code block that demonstrates the problem
I have checked in IE, Firefox and Chrome and none of these browsers would introduce a line break.
I am evaluating a number of pdf libraries and so far aspose.pdf is providing the best functionality in terms of html formatting, but this is a deal breaker.
I know that you cant give definitive timescales on fix, but any feedback would be really useful 'Instantiate a pdf document
Dim pdf1 As Aspose.Pdf.Generator.Pdf = New Aspose.Pdf.Generator.Pdf()
<span style="color:green;">'Create a section in the pdf document</span>
<span style="color:blue;">Dim</span> sec1 <span style="color:blue;">As</span> Aspose.Pdf.Generator.<span style="color:#2b91af;">Section</span> = pdf1.Sections.Add()
<span style="color:green;">'define the html</span>
<span style="color:blue;">Dim</span> string1 <span style="color:blue;">As</span> <span style="color:blue;">String</span> = <span style="color:#a31515;">"<p> Here is some normal Text. <span style=""color:#ff8c00;"">orange font.</span> <span style=""background-color:#ff8c00;"">orange background.</span> This should all be in the same paragraph.</p>"</span>
<span style="color:green;">'add the formatted text to the document</span>
<span style="color:blue;">Dim</span> text1 <span style="color:blue;">As</span> Aspose.Pdf.Generator.<span style="color:#2b91af;">Text</span> = <span style="color:blue;">New</span> Aspose.Pdf.Generator.<span style="color:#2b91af;">Text</span>(string1)
text1.IsHtmlTagSupported = <span style="color:blue;">True</span>
sec1.Paragraphs.Add(text1)
<span style="color:blue;">Dim</span> f_dest <span style="color:blue;">As</span> <span style="color:blue;">String</span> = <span style="color:#a31515;">"C:\test.pdf"</span>
pdf1.Save(f_dest)
<span style="color:#2b91af;">Process</span>.Start(f_dest)</pre><br>