From 2af6f4283242bef941158ea6fb8326a249776ddd Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 31 Dec 2019 09:53:32 -0800 Subject: [PATCH] Update JavaScriptEncoder.xml (#3722) --- xml/System.Text.Encodings.Web/JavaScriptEncoder.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Text.Encodings.Web/JavaScriptEncoder.xml b/xml/System.Text.Encodings.Web/JavaScriptEncoder.xml index eb48e2f60f2..a47f2d2869e 100644 --- a/xml/System.Text.Encodings.Web/JavaScriptEncoder.xml +++ b/xml/System.Text.Encodings.Web/JavaScriptEncoder.xml @@ -179,7 +179,7 @@ Unlike the encoder, this encoder instance does not escape HTML-sensitive characters such as <, >, &. As a result, it must be used cautiously; for example, it can be used if the output data is within a response whose content-type is known with a charset set to UTF-8. -Unlike the encoding, the quotation mark is encoded as \" rather than \u0022. +Unlike the encoding, the quotation mark is encoded as \\" rather than \u0022. Unlike the encoding (which only allows ), using this encoder instance allows to go through unescaped.