Hello,
I am attempting to generate a PDF from HTML which throws an exception in the scenario below. It is essential to include the < character in the text, and other characters which I assume are being interpreted as HTML. How can I ensure that this character, and others, is processed and rendered correctly?
I am using Aspose.PDF v.6.3.0.0
Best regards
Iain
The following HTML:
COMMENT < COMMENT COMMENT < COMMENT COMMENT < COMMENT COMMENT < COMMENT COMMENT < COMMENT COMMENT < COMMENT COMMENT < COMMENT |
Generates:
Exception Message: Value cannot be null. Parameter name: name
Exception Source: Aspose.Pdf
Exception Target Site: .? (System.String, System.String, .?)
Exception Stacktrace:
at .?.(String , String , ? )
at .?.( , ? )
at ..( , ? )
at ..( , ? )
at ..( , ? )
at ..( , ? )
at ..( , ? )
at ..( , ? )
at ..( , ? )
at ..( , ? )
at .?.(String )
at ..(String )
at ?.?.(Pdf , Section , Cell , Text , HeaderFooter , ? , )
at ?.?.(Pdf , Section , Table , Cell , Text , HeaderFooter , ? , )
at ?.?.(Pdf , Section , HeaderFooter , Table , Row , Cell , Text , ? , , Boolean )
at ?..(Pdf , Section , ? )
at ?.?.(Pdf )
at ?.?.( , Pdf )
at Aspose.Pdf.Generator.Pdf.Save(Stream stream)