Documentation
¶
Overview ¶
Package htmlsafe provides small helpers for producing safe HTML output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderTemplate ¶
RenderTemplate renders an html/template to a string.
func SanitizeHTMLByContract ¶
SanitizeHTMLByContract sanitizes HTML that is meant to be rendered as HTML by clients (e.g. Mastodon fields).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.