sanitization

package
v0.0.0-...-5acab9f Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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