Change Sanitize() to SanitizeBytes() in example

pull/117/head
Vytautas Šaltenis 2014-09-20 14:48:01 +03:00
parent 819f70a832
commit 8e739c7f0d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ import (
// ... // ...
unsafe := blackfriday.MarkdownCommon(input) unsafe := blackfriday.MarkdownCommon(input)
html := bluemonday.UGCPolicy().Sanitize(string(unsafe)) html := bluemonday.UGCPolicy().SanitizeBytes(unsafe)
``` ```
### Custom options ### Custom options