cleaner

package
v1.3.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Cleaner implements a naive HTML/XML sanitizer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasEncodedElements

func HasEncodedElements(src []byte) bool

HasEncodedElements checks a byte array to determine if it has any < and > or &

func StripTags

func StripTags(src []byte) []byte

StripTags removes HTML/XML tags identified through the regexp or entities

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL