Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 450

New Post: Unwanted completion

$
0
0

Hi, I am using HtmlAgilityPack to process my HTML input. But I am getting unwanted closure tags when "LoadHtml" method is called. 

Suppose Text input is an explanation about "c# nullable types" and has a line like the one below;

Nullable<int> c = null;

When the above line is loaded to an HtmlDocument using LoadHtml, it becomes something like below;

Nullable<int> c = null; </int>

How can I avoid this? I have tried OptionAutoCloseOnEnd=false, OptionFixNestedTags=false, OptionWriteEmptyNodes=false, OptionCheckSyntax=false none of them worked.

Any help greatly appreciated...


Viewing all articles
Browse latest Browse all 450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>