C# library to clean up html [closed]

南楼画角 提交于 2019-12-21 20:11:13

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!