aboutsummaryrefslogtreecommitdiff
path: root/src/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/html')
-rw-r--r--src/html/template/doc.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/html/template/doc.go b/src/html/template/doc.go
index 5d1631b266..57990e8a38 100644
--- a/src/html/template/doc.go
+++ b/src/html/template/doc.go
@@ -5,16 +5,16 @@
/*
Package template (html/template) implements data-driven templates for
generating HTML output safe against code injection. It provides the
-same interface as package text/template and should be used instead of
-text/template whenever the output is HTML.
+same interface as [text/template] and should be used instead of
+[text/template] whenever the output is HTML.
The documentation here focuses on the security features of the package.
For information about how to program the templates themselves, see the
-documentation for text/template.
+documentation for [text/template].
# Introduction
-This package wraps package text/template so you can share its template API
+This package wraps [text/template] so you can share its template API
to parse and execute HTML templates safely.
tmpl, err := template.New("name").Parse(...)