From 471561c590459c0b2b32978c124e395bbf4eb1a1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 7 Jun 2023 17:07:59 -0700 Subject: [PATCH] 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 --- doc/go1.21.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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.

-- 2.44.0