aboutsummaryrefslogtreecommitdiff
path: root/src/html/template/js.go
AgeCommit message (Expand)Author
2024-12-10html/template: escape script tags in JS errors case insensitivelyRoland Shoemaker
2024-03-26all: fix a large number of commentscui fliter
2024-02-27html/template: escape additional tokens in MarshalJSON errorsRoland Shoemaker
2023-10-02html/template: support parsing complex JS template literalsRoland Shoemaker
2023-08-01text/template, html/template: use reflect.TypeFor for known typesIan Lance Taylor
2023-05-02html/template: handle all JS whitespace charactersRoland Shoemaker
2023-04-04html/template: disallow actions in JS template literalsRoland Shoemaker
2021-12-13all: gofmt -w -r 'interface{} -> any' srcRuss Cox
2021-10-26all: use reflect.{Pointer,PointerTo}Cuong Manh Le
2021-10-06all: use bytes.Cut, strings.CutRuss Cox
2020-04-16html/template,text/template: switch to Unicode escapes for JSON compatibilityempijei
2019-08-27html/template: micro optimization for isJSTypeDong-hee Na
2019-05-06html/template: add support for JavaScript modulesAndrew Bonventre
2019-02-26html/template: use strings.BuilderJosh Bleecher Snyder
2018-12-13text/html: escape MIME type "application/ld+json" as JavaScriptEvan Klitzke
2018-11-02all: use "reports whether" consistently in the few places that didn'tBrad Fitzpatrick
2018-09-26all: use strings.ReplaceAll and bytes.ReplaceAll where applicableBrad Fitzpatrick
2018-06-01all: update comment URLs from HTTP to HTTPS, where possibleTim Cooper
2018-05-09html/template: always write untyped nil as JS nullDaniel Martí
2017-10-05all: revert "all: prefer strings.IndexByte over strings.Index"Marvin Stenger
2017-09-25all: prefer strings.IndexByte over strings.IndexMarvin Stenger
2017-04-20html/template: ensure that MIME type handling is case insensitiveSamuel Tan
2016-12-04html/template: escape JS in application/json script tagNodir Turakulov
2016-11-12all: spell "marshal" and "unmarshal" consistentlyDmitri Shuralyov
2016-09-29html/template: check "type" attribute in <script>Nodir Turakulov
2015-05-19html/template: fix string iteration in replacement operationsDidier Spezia
2014-09-08build: move package sources from src/pkg to srcRuss Cox