package
Version:
v1.3.7
Opens a new window with list of versions in this module.
Published: Feb 26, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Cleaner implements a naive HTML/XML sanitizer
func HasEncodedElements(src []byte) bool
HasEncodedElements checks a byte array to determine if it has any < and > or &
StripTags removes HTML/XML tags identified through the regexp or entities
Source Files
¶
Click to show internal directories.
Click to hide internal directories.