aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2020-01-22 12:20:02 +0000
committerDaniel Martí <mvdan@mvdan.cc>2020-01-29 14:58:15 +0000
commit1319bb959c17b8e6c7b44b26c61e8f02850d9c46 (patch)
treea63afa48d287c099ebb8ac9aae5b73f4e6c0a888
parent566ebbc3ae97741e9419e2668833ac297d63ba54 (diff)
downloadgo-1319bb959c17b8e6c7b44b26c61e8f02850d9c46.tar.gz
go-1319bb959c17b8e6c7b44b26c61e8f02850d9c46.zip
doc: add the change to json.Compact in the 1.14 changelog
Fixes #36690. Change-Id: Id4234ab9467270d51f0411375b71ece7f41269b2 Reviewed-on: https://go-review.googlesource.com/c/go/+/215817 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
-rw-r--r--doc/go1.14.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/go1.14.html b/doc/go1.14.html
index 71781cee18..9711364cfc 100644
--- a/doc/go1.14.html
+++ b/doc/go1.14.html
@@ -452,6 +452,17 @@ TODO
</dl><!-- encoding/asn1 -->
+<dl id="encoding/json"><dt><a href="/pkg/encoding/json/">encoding/json</a></dt>
+ <dd>
+ <p><!-- CL 200217 -->
+ <a href="/pkg/encoding/json/#Compact"><code>Compact</code></a> no longer
+ escapes the <code>U+2028</code> and <code>U+2029</code> characters, which
+ was never a documented feature. For proper escaping, see <a
+ href="/pkg/encoding/json/#HTMLEscape"><code>HTMLEscape</code></a>.
+ </p>
+
+</dl><!-- encoding/json -->
+
<dl id="mime"><dt><a href="/pkg/mime/">mime</a></dt>
<dd>
<p><!-- CL 186927 -->