Sunday, October 16, 2011

Safely cleaning HTML with strip_tags in C#

One of my favorites in the PHP libraries is the strip_tags function. Not only does it neatly remove HTML from an input it also allows you to specify which tags should stay. This is great if you are allowing your visitors to apply some basic HTML tags to their comments. This post explores two issues: [...]

This is a post from Martijn's C# Coding Blog.

Source: http://www.dijksterhuis.org/safely-cleaning-html-with-strip_tags-in-csharp/

LSI LINEAR TECHNOLOGY LEXMARK INTERNATIONAL

No comments:

Post a Comment