Documentation ¶
Overview ¶
Package sanitize provides functions for sanitizing text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTML ¶
Strip html tags, replace common entities, and escape <>&;'" in the result. Note the returned text may contain entities as it is escaped by HTMLEscapeString, and most entities are not translated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.