]> Cypherpunks repositories - gostls13.git/commit
html/template: prefix the internally-used FuncMap values with an underscore
authorRob Pike <r@golang.org>
Mon, 4 Apr 2016 03:45:52 +0000 (20:45 -0700)
committerRob Pike <r@golang.org>
Mon, 4 Apr 2016 05:23:18 +0000 (05:23 +0000)
commit02adfa0b3d6dd46dc69709df7f39a1c947bec867
tree0a7296a355548ccba7c5c6cdec9e1d6d6d8a3af3
parented8f0e5c33269de2f950d33ab7d50554b13f336e
html/template: prefix the internally-used FuncMap values with an underscore

This makes these names even less likely to collide with a real user-defined function.

Fixes #13852.

Change-Id: If5a8562c6797ced19c355c7ab2c86fc4401a8674
Reviewed-on: https://go-review.googlesource.com/21490
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/html/template/escape.go