]> Cypherpunks repositories - gostls13.git/commitdiff
html: updated entity spec link
authorSeiji Takahashi <timaki.st@gmail.com>
Thu, 3 Aug 2017 13:08:55 +0000 (22:08 +0900)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 8 Aug 2017 04:29:35 +0000 (04:29 +0000)
Fixes #21194

Change-Id: Iac5187335df67f90f0f47c7ef6574de147c2ac9b
Reviewed-on: https://go-review.googlesource.com/52970
Reviewed-by: Avelino <t@avelino.xxx>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/html/entity.go

index af8a007ed04629c83e1046b76cb977658ddcf3c2..dfeaf6cabc70a7ada5fea7e09be7867d43c16b7f 100644 (file)
@@ -8,7 +8,7 @@ package html
 const longestEntityWithoutSemicolon = 6
 
 // entity is a map from HTML entity names to their values. The semicolon matters:
-// http://www.whatwg.org/specs/web-apps/current-work/multipage/named-character-references.html
+// https://html.spec.whatwg.org/multipage/named-characters.html
 // lists both "amp" and "amp;" as two separate entries.
 //
 // Note that the HTML5 list is larger than the HTML4 list at