Documentation
¶
Overview ¶
Package htmlpolicy implements the closed margo-html-v1 fragment profile.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Normalize ¶ added in v0.0.5
Normalize parses, validates, and serializes a fresh canonical fragment. It never returns the caller's original HTML bytes.
func NormalizeTokens ¶ added in v0.0.5
NormalizeTokens canonicalizes a Goldmark raw-HTML segment without assuming that matching inline start and end tags live in the same AST node.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.