I'm making a doument based on paragraphs stored in a DB as HTML-code. Those paragraphs can contain lists (
or ).
The problem I'm heaving now is that, when I want to add the HTML-code to my document, I get an error that there is an invalid element found in that paragraph .
para = section.AddParagraph() as WParagraph;
para.AppendHTML(htmlCodeWithList);
htmlCodeWithList doesn't contain any
-tag so "para.AppendHTML" puts a
-tag around my HTML.
Is there a way to work around this?