问题
I was wondering if there is a library in .Net to clean up and remove unclosed tags in an html document?
回答1:
HtmlTidy!
See the url below for more details:
http://www.devx.com/dotnet/Article/20505/0/page/2
The source of the download/project is:
http://tidy.sourceforge.net/
I gave the other link because it contains information about a .net wrapper and setting everything up. Hope this helps!
回答2:
html agility pack
http://www.codeplex.com/htmlagilitypack
来源:https://stackoverflow.com/questions/1830295/c-sharp-library-to-clean-up-html