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 <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Ian Lance Taylor <iant@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
This commit is contained in:
Ian Lance Taylor 2023-06-07 17:07:59 -07:00 committed by Gopher Robot
parent cc99093dfa
commit 471561c590
1 changed files with 5 additions and 6 deletions

View File

@ -735,12 +735,11 @@ Do not send CLs removing the interior tags from such phrases.
<dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt> <dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt>
<dd> <dd>
<p><!-- https://go.dev/issue/59584 --> <p><!-- https://go.dev/issue/59584, CL 496395 -->
TODO: <a href="https://go.dev/issue/59584">https://go.dev/issue/59584</a>: expose ErrJSTemplate The new error
</p> <a href="/pkg/html/template/#ErrJSTemplate"><code>ErrJSTemplate</code></a>
is returned when an action appears in a JavaScript template
<p><!-- CL 496395 --> literal. Previously an unexported error was returned.
TODO: <a href="https://go.dev/cl/496395">https://go.dev/cl/496395</a>: html/template: expose ErrJSTemplate; modified api/next/59584.txt
</p> </p>
</dd> </dd>
</dl><!-- html/template --> </dl><!-- html/template -->