From 6ba3e6a8c76c3266d75e62c6ecf47b2f795ba371 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 30 Jun 2020 13:23:32 -0400 Subject: [PATCH] doc/go1.15: add html/template and text/template docs Updates #37419 Change-Id: I23abfeabc6be704aad9da2649bbbe7c8e237dfab Reviewed-on: https://go-review.googlesource.com/c/go/+/240546 Reviewed-by: Carlos Amedee --- doc/go1.15.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/go1.15.html b/doc/go1.15.html index 45ffec4b34..991314c3a5 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -666,6 +666,17 @@ Do not send CLs removing the interior tags from such phrases. +
html/template
+
+

+ The package now uses Unicode escapes (\uNNNN) in all + JavaScript and JSON contexts. This fixes escaping errors in + application/ld+json and application/json + contexts. +

+
+
+
io/ioutil

@@ -950,6 +961,16 @@ Do not send CLs removing the interior tags from such phrases.

+
text/template
+
+

+ JSEscape now + consistently uses Unicode escapes (\u00XX), which are + compatible with JSON. +

+
+
+
time

-- 2.48.1