]> Cypherpunks repositories - gostls13.git/commitdiff
html: fix typo in UnescapeString string docs
authorBrad Fitzpatrick <bradfitz@golang.org>
Sun, 10 Apr 2016 14:51:07 +0000 (14:51 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 10 Apr 2016 18:50:25 +0000 (18:50 +0000)
Fixes #15221

Change-Id: I9e927a2f604213338b4572f1a32d0247c58bdc60
Reviewed-on: https://go-review.googlesource.com/21798
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/html/escape.go

index 71906ac5863c313782d3690aa984259b4518eb75..8dd1f4ad2f61013e45e552000c84ac2795ec890d 100644 (file)
@@ -181,7 +181,7 @@ func EscapeString(s string) string {
 
 // UnescapeString unescapes entities like "&lt;" to become "<". It unescapes a
 // larger range of entities than EscapeString escapes. For example, "&aacute;"
-// unescapes to "á", as does "&#225;" and "&xE1;".
+// unescapes to "á", as does "&#225;" and "&#xE1;".
 // UnescapeString(EscapeString(s)) == s always holds, but the converse isn't
 // always true.
 func UnescapeString(s string) string {