go/src/html
Emmanuel Odeke d54b60a2b2 html/template: lock in application/json as valid JS test
CL https://go-review.googlesource.com/33899 added
application/json as a mimeType for valid JS. Let's
lock that fix in with a test.

Updates #18159

Change-Id: Ic4dfd8929aebfc5410f796688f081ca06630f672
Reviewed-on: https://go-review.googlesource.com/33901
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Nodir Turakulov <nodir@google.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
2016-12-04 03:59:31 +00:00
..
template html/template: lock in application/json as valid JS test 2016-12-04 03:59:31 +00:00
entity.go
entity_test.go
escape.go html: fix typo in UnescapeString string docs 2016-04-10 18:50:25 +00:00
escape_test.go
example_test.go