1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:10:04 -07:00

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>
This commit is contained in:
Daniel Martí 2020-01-22 12:20:02 +00:00
parent 566ebbc3ae
commit 1319bb959c

View File

@ -452,6 +452,17 @@ TODO
</dl><!-- encoding/asn1 --> </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> <dl id="mime"><dt><a href="/pkg/mime/">mime</a></dt>
<dd> <dd>
<p><!-- CL 186927 --> <p><!-- CL 186927 -->