From: Ian Lance Taylor Date: Thu, 8 Jun 2023 00:07:59 +0000 (-0700) Subject: doc/go1.21: mention html/template.ErrJSTemplate X-Git-Tag: go1.21rc1~56 X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=471561c590459c0b2b32978c124e395bbf4eb1a1;p=gostls13.git doc/go1.21: mention html/template.ErrJSTemplate For #59584 Change-Id: Iaa3f8b23010ad452c134ac608c63d2a41cc4e409 Reviewed-on: https://go-review.googlesource.com/c/go/+/501698 Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor TryBot-Bypass: Ian Lance Taylor Reviewed-by: Roland Shoemaker --- 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.
html/template
-

- 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.