We recently upgraded from 11.2 to 15.10 and we are having many issues with html merging. The following example throws an unhandled exception on the first test (thisHtmlFails), however the next two tests work just fine. I have tested this in 15.12 and get the same results. What can we do to fix this issue?
DocumentBuilder doc = new DocumentBuilder(new Document(input)); // any document is fine
string thisHtmlFails = @"
test
"; doc.InsertHtml(thisHtmlFails, true);
string thisHtmlWorks = @"
test
"; doc.InsertHtml(thisHtmlWorks, true);
string thisHtmlWorksToo = @"
";
doc.InsertHtml(thisHtmlWorksToo, true);