We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dd7d70 commit 57c44fdCopy full SHA for 57c44fd
src/html/template/doc.go
@@ -28,6 +28,9 @@ HTML templates treat data values as plain text which should be encoded so they
28
can be safely embedded in an HTML document. The escaping is contextual, so
29
actions can appear within JavaScript, CSS, and URI contexts.
30
31
+Comments are stripped from output, except for those passed in via the
32
+[HTML], [CSS], and [JS] types for their respective contexts.
33
+
34
The security model used by this package assumes that template authors are
35
trusted, while Execute's data parameter is not. More details are
36
provided below.
0 commit comments