diff options
Diffstat (limited to 'libgo/go/html/escape.go')
-rw-r--r-- | libgo/go/html/escape.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libgo/go/html/escape.go b/libgo/go/html/escape.go index ab6fd1c7b4..8dd1f4ad2f 100644 --- a/libgo/go/html/escape.go +++ b/libgo/go/html/escape.go @@ -10,10 +10,6 @@ import ( "unicode/utf8" ) -type writer interface { - WriteString(string) (int, error) -} - // These replacements permit compatibility with old numeric entities that // assumed Windows-1252 encoding. // http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#consume-a-character-reference @@ -185,7 +181,7 @@ func EscapeString(s string) string { // UnescapeString unescapes entities like "<" to become "<". It unescapes a // 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 // always true. func UnescapeString(s string) string { |