diff options
Diffstat (limited to 'src/pkg/html/template/error.go')
-rw-r--r-- | src/pkg/html/template/error.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/html/template/error.go b/src/pkg/html/template/error.go index dcac74896..46e49ccf8 100644 --- a/src/pkg/html/template/error.go +++ b/src/pkg/html/template/error.go @@ -102,7 +102,7 @@ const ( // // {{define "main"}} <script>{{template "helper"}}</script> {{end}} // {{define "helper"}} document.write(' <div title=" ') {{end}} - // + // // "helper" does not produce a valid document fragment, so should // not be Executed directly. ErrEndContext @@ -161,7 +161,7 @@ const ( // In the example, there is missing a quote, so it is not clear // whether {{.}} is meant to be inside a JS string or in a JS value // context. The second iteration would produce something like - // + // // <script>var x = ['firstValue,'secondValue]</script> ErrRangeLoopReentry |