diff --git a/doc/go1.21.html b/doc/go1.21.html index 1f9d8ffea1..4729fe9dfc 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -735,12 +735,11 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: https://go.dev/issue/59584: expose ErrJSTemplate -
- -- TODO: https://go.dev/cl/496395: html/template: expose ErrJSTemplate; modified api/next/59584.txt +
+ The new error
+ ErrJSTemplate
+ is returned when an action appears in a JavaScript template
+ literal. Previously an unexported error was returned.