summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/html/escape.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/net/html/escape.go')
-rw-r--r--vendor/golang.org/x/net/html/escape.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/net/html/escape.go b/vendor/golang.org/x/net/html/escape.go
index 04c6bec21..12f227370 100644
--- a/vendor/golang.org/x/net/html/escape.go
+++ b/vendor/golang.org/x/net/html/escape.go
@@ -299,7 +299,7 @@ func escape(w writer, s string) error {
case '\r':
esc = "
"
default:
- panic("unrecognized escape character")
+ panic("html: unrecognized escape character")
}
s = s[i+1:]
if _, err := w.WriteString(esc); err != nil {