-
Rob Pike authored
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
e2e9d1d6
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
attr.go | ||
clone_test.go | ||
content.go | ||
content_test.go | ||
context.go | ||
css.go | ||
css_test.go | ||
doc.go | ||
error.go | ||
escape.go | ||
escape_test.go | ||
html.go | ||
html_test.go | ||
js.go | ||
js_test.go | ||
template.go | ||
transition.go | ||
url.go | ||
url_test.go |