1
0
mirror of https://github.com/golang/go synced 2024-11-18 03:04:45 -07:00

html: updated entity spec link

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>
This commit is contained in:
Seiji Takahashi 2017-08-03 22:08:55 +09:00 committed by Brad Fitzpatrick
parent c4ee0e2a8b
commit 6dae588a06

View 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