]> Cypherpunks repositories - gostls13.git/commit
Revert "html/template: prevent aliasing of parse Trees via AddParseTree"
authorSamuel Tan <samueltan@google.com>
Thu, 14 Dec 2017 06:38:00 +0000 (22:38 -0800)
committerRuss Cox <rsc@golang.org>
Tue, 9 Jan 2018 21:05:20 +0000 (21:05 +0000)
commitbf897845363eee8e39d3d4c02d3aadc864b5faf0
tree67ce24da250af9e9abff25784a9253775d7ddd86
parent9044f018ec7bf35ac030dc5aec1acd7d18d6691c
Revert "html/template: prevent aliasing of parse Trees via AddParseTree"

This reverts commit cd0a5f08293e1bf1fac41ae6438d495318cd52fb, which
unnecessarily restricts the use of AddParseTree.

Change-Id: I1155214a20ba08981d604404e79fff54874fd8e4
Reviewed-on: https://go-review.googlesource.com/83919
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/html/template/escape_test.go
src/html/template/template.go