-
Rob Pike authored
text/template turned this into an error but html/template crashed. Refactor text/template.Execute to export a new function, text/template.DefinedTemplates, so html/template can get the same helpful error message in this case, and invoke it when there is no definition for a template being escaped. Fixes #10204. Change-Id: I1d04e9e7ebca829bc08509caeb65e75da969711f Reviewed-on: https://go-review.googlesource.com/7855Reviewed-by: Russ Cox <rsc@golang.org>
11dba2ec
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 |