package
0.1.0
Repository: https://github.com/google/safehtml.git
Documentation: pkg.go.dev

# Functions

Indirect returns the value, after dereferencing as many times as necessary to reach the base type (or nil).
IsSafeTrustedResourceURLPrefix returns whether the given prefix is safe to use as a TrustedResourceURL prefix.
NormalizeURL normalizes URL content so it can be embedded in a quote-delimited string or parenthesis delimited url(...).
QueryEscapeURL produces an output that can be embedded in a URL query.
Stringify converts its arguments to a string.
URLContainsDoubleDotSegment returns whether the given URL or URL substring contains the double dot-segment ".." (RFC3986 3.3) in its percent-encoded or unencoded form.