mirror of
https://github.com/golang/go.git
synced 2025-05-21 15:24:21 +00:00
html: fix typo in UnescapeString string docs
Fixes #15221 Change-Id: I9e927a2f604213338b4572f1a32d0247c58bdc60 Reviewed-on: https://go-review.googlesource.com/21798 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
a56f5a0322
commit
a44c4256ae
@ -181,7 +181,7 @@ func EscapeString(s string) string {
|
|||||||
|
|
||||||
// UnescapeString unescapes entities like "<" to become "<". It unescapes a
|
// UnescapeString unescapes entities like "<" to become "<". It unescapes a
|
||||||
// larger range of entities than EscapeString escapes. For example, "á"
|
// larger range of entities than EscapeString escapes. For example, "á"
|
||||||
// unescapes to "á", as does "á" and "&xE1;".
|
// unescapes to "á", as does "á" and "á".
|
||||||
// UnescapeString(EscapeString(s)) == s always holds, but the converse isn't
|
// UnescapeString(EscapeString(s)) == s always holds, but the converse isn't
|
||||||
// always true.
|
// always true.
|
||||||
func UnescapeString(s string) string {
|
func UnescapeString(s string) string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user