Documentation ¶
Overview ¶
Package sanitization contains utility for sanitizing raw input into sanitized output
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InnerHTML ¶
func InnerHTML[stringType ~string](input stringType) stringType
InnerHTML uses a blank policy to remove all tags from HTML leaving only the innerHTML
func SanitizeHTML ¶
func SanitizeHTML[stringType ~string](input stringType) stringType
SanitizeHTML takes a string representation of HTML and sanitizes it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.