Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTML ¶ added in v0.134.0
type HTML string
HTML is a string that represents rendered HTML. When printed in templates it will be rendered as template.HTML and considered safe so no need to pipe it into `safeHTML`. This type was introduced as a wasy to prevent a common case of inifinite recursion in the template rendering when the `linkify` option is enabled with a common (wrong) construct like `{{ .Text | .Page.RenderString }}` in a hook template.
func (HTML) PrintableValue ¶ added in v0.134.0
Click to show internal directories.
Click to hide internal directories.