aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorNodir Turakulov <nodir@google.com>2015-09-04 18:07:55 -0700
committerRob Pike <r@golang.org>2015-09-09 23:31:06 +0000
commit918c82308a8b489cc5f179f4e18531ad12cd6692 (patch)
tree566bcc4da2ad3ea3b08acdb3c91b29da8403be01 /src/encoding
parent6599450016244b9e3e074e87d7064219ee2e5cf8 (diff)
downloadgo-918c82308a8b489cc5f179f4e18531ad12cd6692.tar.xz
html/template: preserve attr in stateBeforeValue
Context: #12149. The problem there is that contents of <script type="text/template"> are treated as JS, and thus // is treated as regexp. Preserve context.attr while we are in the attribute, in particular in stateBeforeValue, so we have attr when reading attr value. Next CL will actually fix the bug. Change-Id: I99add2237b0885ecdcc08b4f7c25d0af99173e53 Reviewed-on: https://go-review.googlesource.com/14335 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions