updated README.md

This commit is contained in:
Michael Ganss
2013-06-25 17:37:13 +02:00
parent c3675f321d
commit 6be08ae62a

View File

@@ -16,6 +16,9 @@ In order to facilitate different use cases, HtmlSanitizer can be customized at s
Usage
-----
- Install the CsQuery NuGet package
- Copy `HtmlSanitizer.cs` into your project
var sanitizer = new HtmlSanitizer();
var html = @"<script>alert('xss')</script><div onload=""alert('xss')"""
+ @"style=""background-color: test"">Test<img src=""test.gif"""