diff --git a/README.md b/README.md index 598bbd9..696955c 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ import ( // ... unsafe := blackfriday.MarkdownCommon(input) -html := bluemonday.UGCPolicy().Sanitize(string(unsafe)) +html := bluemonday.UGCPolicy().SanitizeBytes(unsafe) ``` ### Custom options