htmlsanitizer

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("htmlsanitizer",
	fx.Provide(
		New,
	),
)

Functions

func New added in v0.8.20

func New(cfg *config.Config) (*bluemonday.Policy, error)

func Sanitize

func Sanitize(in string) string

func StripTags

func StripTags(in string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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