Skip to content

Commit 65753ec

Browse files
rolandshoemakerezz-no
authored andcommitted
doc: add html/template release note
Updates golang#61422 Change-Id: Ie86e8545d55cfd0898d21387d8b48d9392f85bf0 Reviewed-on: https://go-review.googlesource.com/c/go/+/551335 Reviewed-by: Carlos Amedee <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 36f583d commit 65753ec

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

doc/go1.22.html

+9-11
Original file line numberDiff line numberDiff line change
@@ -650,17 +650,15 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
650650
</dd>
651651
</dl><!-- go/version -->
652652

653-
<!-- <dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt> -->
654-
<!-- <dd> -->
655-
<!-- <p><\!-- https://go.dev/issue/61619 -\-> -->
656-
<!-- TODO: <a href="https://go.dev/issue/61619">https://go.dev/issue/61619</a>: allow actions in JS template literals -->
657-
<!-- </p> -->
658-
659-
<!-- <p><\!-- CL 507995 -\-> -->
660-
<!-- TODO: <a href="https://go.dev/cl/507995">https://go.dev/cl/507995</a>: html/template: support parsing complex JS template literals; modified api/next/61619.txt -->
661-
<!-- </p> -->
662-
<!-- </dd> -->
663-
<!-- </dl><\!-- html/template -\-> -->
653+
<dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt>
654+
<dd>
655+
<p><!-- https://go.dev/issue/61619, CL 507995 -->
656+
Javascript template literals may now contain Go template actions, and parsing a template containing one will
657+
no longer return <code>ErrJSTemplate</code>. Similarly the GODEBUG setting <code>jstmpllitinterp</code> no
658+
longer has any effect.
659+
</p>
660+
</dd>
661+
</dl><!-- html/template -->
664662

665663
<dl id="io"><dt><a href="/pkg/io/">io</a></dt>
666664
<dd>

0 commit comments

Comments
 (0)