Change Sanitize() to SanitizeBytes() in example

This commit is contained in:
Vytautas Šaltenis 2014-09-20 14:48:01 +03:00
parent 819f70a832
commit 8e739c7f0d

View File

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