summaryrefslogtreecommitdiffstats
path: root/hugolib/template.go
blob: 2d2074c0798b1c023852e06d70bcf2332ced5bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
package hugolib

import (
	"html/template"
)

// HTML encapsulates a known safe HTML document fragment.
// It should not be used for HTML from a third-party, or HTML with
// unclosed tags or comments. The outputs of a sound HTML sanitizer
// and a template escaped by this package are fine for use with HTML.
type HTML template.HTML