diff options
Diffstat (limited to 'libgo/go/html/escape.go')
-rw-r--r-- | libgo/go/html/escape.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libgo/go/html/escape.go b/libgo/go/html/escape.go index eff0384e089..dd5dfa7cd75 100644 --- a/libgo/go/html/escape.go +++ b/libgo/go/html/escape.go @@ -187,16 +187,6 @@ func unescape(b []byte) []byte { return b } -// lower lower-cases the A-Z bytes in b in-place, so that "aBc" becomes "abc". -func lower(b []byte) []byte { - for i, c := range b { - if 'A' <= c && c <= 'Z' { - b[i] = c + 'a' - 'A' - } - } - return b -} - const escapedChars = `&'<>"` func escape(w writer, s string) error { |