File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -666,6 +666,17 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
666
666
</ dd >
667
667
</ dl > <!-- go/printer -->
668
668
669
+ < dl id ="html/template "> < dt > < a href ="/pkg/html/template/ "> html/template</ a > </ dt >
670
+ < dd >
671
+ < p > <!-- CL 226097 -->
672
+ The package now uses Unicode escapes (< code > \uNNNN</ code > ) in all
673
+ JavaScript and JSON contexts. This fixes escaping errors in
674
+ < code > application/ld+json</ code > and < code > application/json</ code >
675
+ contexts.
676
+ </ p >
677
+ </ dd >
678
+ </ dl > <!-- html/template -->
679
+
669
680
< dl id ="io/ioutil "> < dt > < a href ="/pkg/io/ioutil/ "> io/ioutil</ a > </ dt >
670
681
< dd >
671
682
< p > <!-- CL 212597 -->
@@ -950,6 +961,16 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
950
961
</ dd >
951
962
</ dl > <!-- testing -->
952
963
964
+ < dl id ="text/template "> < dt > < a href ="/pkg/text/template/ "> text/template</ a > </ dt >
965
+ < dd >
966
+ < p > <!-- CL 226097 -->
967
+ < a href ="/pkg/text/template/#JSEscape "> < code > JSEscape</ code > </ a > now
968
+ consistently uses Unicode escapes (< code > \u00XX</ code > ), which are
969
+ compatible with JSON.
970
+ </ p >
971
+ </ dd >
972
+ </ dl > <!-- text/template -->
973
+
953
974
< dl id ="time "> < dt > < a href ="/pkg/time/ "> time</ a > </ dt >
954
975
< dd >
955
976
< p > <!-- CL 220424, CL 217362, golang.org/issue/33184 -->
You can’t perform that action at this time.
0 commit comments