mirror of
https://github.com/golang/go
synced 2024-10-04 16:31:22 -06:00
e2e9d1d684
After text/template.Parse, all the templates may have changed, so we need to set them all back to their unescaped state. The code did this but (mea culpa) forgot to set the Tree field of the html/template struct. Since the Tree is reset during escaping, this only matters if an error arises during escaping and we want to print a message. Fixes #6459. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13877043 |
||
---|---|---|
.. | ||
template | ||
entity_test.go | ||
entity.go | ||
escape_test.go | ||
escape.go |