updated README.md
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user