Skip to content

Commit

Permalink
Fix dotnet/docs#8427 remove misleading remarks (dotnet#645)
Browse files Browse the repository at this point in the history
## Summary

Removes duplicate and out of place information about URL Encoding from the `JavaScriptStringEncode` methods, where it may be misleading. The documentation for `UrlEncode` is already more complete, and this isn't relevant to JavaScript specific string encoding.

Fixes dotnet/docs#8427
  • Loading branch information
Chris-Johnston authored and Ron Petrusha committed Oct 22, 2018
1 parent 8128a77 commit ac67ea6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xml/System.Web/HttpUtility.xml
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,6 @@
## Remarks
This method encodes strings. For instance, single quotation marks and double quotation marks are included as `\'` and `\"` in the encoded string.
URL encoding makes sure that all browsers correctly transmit text in URL strings. Characters such as a question mark (?), ampersand (&), slash (/), and spaces might be truncated or corrupted by some browsers. Therefore, these characters must be encoded in `a` elements or in query strings where the strings can be re-sent by a browser in a request string.
]]></format>
</remarks>
</Docs>
Expand Down Expand Up @@ -1832,4 +1830,4 @@
</Docs>
</Member>
</Members>
</Type>
</Type>

0 comments on commit ac67ea6

Please sign in to comment.