]> Cypherpunks repositories - gostls13.git/commit
text/template: make the escapers for HTML etc. handle pointers correctly
authorRob Pike <r@golang.org>
Tue, 27 Aug 2013 03:29:07 +0000 (13:29 +1000)
committerRob Pike <r@golang.org>
Tue, 27 Aug 2013 03:29:07 +0000 (13:29 +1000)
commit1f661fc205440ccfb46b76a964f50a1259c928d8
tree996879c06f890f9e0eadd3d912db0d897c9956af
parent519a9e8e9bdfa9b8a1b5c0c1c5be7a16718f7992
text/template: make the escapers for HTML etc. handle pointers correctly
Apply the same rules for argument evaluation and indirection that are
used by the regular evaluator.

Fixes #5802

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/13257043
src/pkg/text/template/exec.go
src/pkg/text/template/exec_test.go
src/pkg/text/template/funcs.go