go/src/html
Ian Lance Taylor e60cffa4ca html/template: attach functions to namespace
The text/template functions are stored in a data structure shared by
all related templates, so do the same with the original, unwrapped,
functions on the html/template side.

For #39807
Fixes #43295

Change-Id: I9f64a0a601f1151c863a2833b5be2baf649b6cef
Reviewed-on: https://go-review.googlesource.com/c/go/+/279492
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
2021-01-07 17:51:29 +00:00
..
template html/template: attach functions to namespace 2021-01-07 17:51:29 +00:00
entity.go html: lazily populate Unescape tables 2018-07-31 22:10:54 +00:00
entity_test.go html: lazily populate Unescape tables 2018-07-31 22:10:54 +00:00
escape.go html: update URL in comment 2020-01-13 07:00:18 +00:00
escape_test.go
example_test.go
fuzz.go html: add a Fuzz function 2019-04-30 15:48:46 +00:00