开发者

.NET control for spellchecking html files (.NET)?

I would like to spell check html files programmaticall开发者_运维知识库y using C#? The text only without the tags.

Any recommendations? Please mention ones that strip out the tags.


To extract the text from HTML use the HTML Agility pack. There has also been some open source work for HTML spell checking on Codeplex: see the Spello project.


I suggest you you strip all tags first then spell check the resulting text. That's what is done inweb based wysiwyg html editors.

To strip html tags:http://en.csharp-online.net/Strip_all_HTML_tags

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜