views:

847

answers:

3

i need a C# library about strict HTML validation and filtering

A: 

I don't think any such thing exists, but it doesn't seem like it would be that hard to do a validation API that utilizes the w3C validator behind the scenes.

What kind of filtering are you talking about? Your question is very vague...

Chris
A: 

Jeff Atwood posted some code for HTML tag filtering and sanitizing a while back. From your brief description it sounds like something you might want to look into.

http://refactormycode.com/codes/333-sanitize-html

http://www.codinghorror.com/blog/archives/001172.html

Tim