aboutsummaryrefslogtreecommitdiff
path: root/src/html
diff options
context:
space:
mode:
authorfujimoto kyosuke <kyoro.f@gmail.com>2020-01-12 06:49:19 +0000
committerIan Lance Taylor <iant@golang.org>2020-01-13 07:00:18 +0000
commit52c4488471ed52085a29e173226b3cbd2bf22b20 (patch)
treec0de843270a56c6ab999c820244121860431f1ca /src/html
parent641e61db57f176e33828ed5354810fa3f13ac76d (diff)
downloadgo-52c4488471ed52085a29e173226b3cbd2bf22b20.tar.gz
go-52c4488471ed52085a29e173226b3cbd2bf22b20.zip
html: update URL in comment
The comment contained a link that had a file name and ID that no longer existed, so change to the URL of the corresponding part of the latest page. Change-Id: I74e0885aabf470facc39b84035f7a83fef9c6a8e GitHub-Last-Rev: 5681c84d9f1029449da6860c65a1d9a128296e85 GitHub-Pull-Request: golang/go#36514 Reviewed-on: https://go-review.googlesource.com/c/go/+/214181 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/html')
-rw-r--r--src/html/escape.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/escape.go b/src/html/escape.go
index dae404fab1..1dc12873b0 100644
--- a/src/html/escape.go
+++ b/src/html/escape.go
@@ -12,7 +12,7 @@ import (
// 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
+// https://html.spec.whatwg.org/multipage/parsing.html#numeric-character-reference-end-state
var replacementTable = [...]rune{
'\u20AC', // First entry is what 0x80 should be replaced with.
'\u0081',