Skip to content

Commit

Permalink
add warning
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed May 30, 2018
1 parent 8b56884 commit 3d26a92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ HTML StripTags for Go

This is a Go package containing an extracted version of the unexported `stripTags` function in `html/template/html.go`.

:warning: This package does not protect against untrusted input. Please use [bluemonday](https://github.com/microcosm-cc/bluemonday) if you need this protection :warning:

## Background

* The `stripTags` function in `html/template/html.go` is very useful, however, it is not exported.
Expand Down

0 comments on commit 3d26a92

Please sign in to comment.