aboutsummaryrefslogtreecommitdiff
path: root/src/html/template/escape_test.go
AgeCommit message (Expand)Author
8 days[release-branch.go1.26] html/template: properly track JS template literal bra...Roland Shoemaker
2026-03-05[release-branch.go1.26] html/template: properly escape URLs in meta content a...Roland Shoemaker
2024-08-27html/template: track continue nodes correctly when escapingcuishuang
2023-10-16html/template: track brace depth for each nested expressionRoland Shoemaker
2023-10-05html/template: only track brace depth when we are in a JS tmpl litRoland Shoemaker
2023-10-02html/template: support parsing complex JS template literalsRoland Shoemaker
2023-09-06html/template: properly handle special tags within the script contextRoland Shoemaker
2023-09-06html/template: support HTML-like comments in script contextsRoland Shoemaker
2023-05-02html/template: emit filterFailsafe for empty unquoted attr valueRoland Shoemaker
2023-04-04html/template: disallow actions in JS template literalsRoland Shoemaker
2022-09-06html/template: use strings.Buildercuiweixie
2021-12-13all: gofmt -w -r 'interface{} -> any' srcRuss Cox
2021-09-23html/template, text/template: implement break and continue for range loopsRuss Cox
2020-12-01encoding/json: revert "add "json: " prefix to SyntaxError messages"Kevin Burke
2020-10-21encoding/json: add "json: " prefix to SyntaxError messagesKevin Burke
2020-07-14html/template: add tests from text/templateRuss Cox
2020-04-16html/template,text/template: switch to Unicode escapes for JSON compatibilityempijei
2019-03-02html/template: prevent test from failing with nil pointer dereferenceMarat Khabibullin
2018-07-09html/template: ignore untyped nil arguments to default escapersIan Lance Taylor
2018-04-06html/template: grow srcset buffer in proportion to needRhys Hiltner
2018-02-20all: fix misspellingsShawn Smith
2018-01-10html/template: check for duplicates when inserting escapersSamuel Tan
2018-01-09Revert "html/template: prevent aliasing of parse Trees via AddParseTree"Samuel Tan
2017-12-14html/template: add srcset content typeMike Samuel
2017-12-08html/template: fix typo in TestOrphanedTemplate error messageSamuel Tan
2017-12-08html/template: reset templates orphaned by (*Template).NewSamuel Tan
2017-09-20html/template: prevent aliasing of parse Trees via AddParseTreeSamuel Tan
2017-07-14html/template: use the same escaper across multiple template executionsSamuel Tan
2017-06-14html/template: only search identifier nodes for predefined escapersSamuel Tan
2017-05-05html/template: allow safe usage of predefined escapers in pipelinesSamuel Tan
2017-04-20html/template: ignore case when handling type attribute in script elementSamuel Tan
2017-04-20html/template: ensure that MIME type handling is case insensitiveSamuel Tan
2017-04-10html/template: panic if predefined escapers are found in pipelines during rew...Samuel Tan
2017-03-07encoding/base64, html/template: fix grammar mistakesKevin Burke
2016-10-19html/template: adjust ambiguous URL context textRuss Cox
2016-09-29html/template: check "type" attribute in <script>Nodir Turakulov
2016-04-01all: use bytes.Equal, bytes.Contains and strings.ContainsDominik Honnef
2015-09-09html/template: preserve attr in stateBeforeValueNodir Turakulov
2015-06-27html/template: prevent panic while escaping pipelinesDidier Spezia
2015-06-01html/template: prevent panic when escaping actions involving chain nodesDidier Spezia
2015-05-08html/template: fix pipeline sanitizationDidier Spezia
2015-03-20html/template: fix crash when escaping incomplete templateRob Pike
2014-09-08build: move package sources from src/pkg to srcRuss Cox