SYSTEM Cited by 1 source
html/template¶
html/template is Go's HTML-safe templating stdlib package (pkg.go.dev/html/template). Produces HTML output safe from code injection by contextually auto-escaping values. Built on top of text/template — inherits its template syntax and execution engine.
Binary-size implication¶
Because html/template runs on text/template, it inherits the same
method-DCE-disabling
reflect.MethodByName call pattern. Datadog's 2026-02-18 fork
into pkg/template/ covers both packages.
Seen in¶
- sources/2026-02-18-datadog-how-we-reduced-agent-go-binaries-up-to-77-percent — part of Datadog's stdlib-template fork.