Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mganss/HtmlSanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
mganss committed Oct 4, 2016
2 parents 6bad65e + 1e2ae13 commit 223f85e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ sanitizer.AllowedSchemes.Add("mailto");
### Default attributes that contain URIs
`action, background, dynsrc, href, lowsrc, src`

### Thread safety

The `Sanitize()` and `SanitizeDocument()` methods are thread-safe, i.e. you can use these methods on a single shared instance from different threads provided you do not simultaneously set instance or static properties. A typical use case is that you prepare an `HtmlSanitizer` instance once (i.e. set desired properties such as `AllowedTags` etc.) from a single thread, then call `Sanitize()`/`SanitizeDocument()` from multiple threads.

Usage
-----

Expand Down

0 comments on commit 223f85e

Please sign in to comment.