summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-25 17:15:48 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-25 17:17:40 -0700
commitbf1539dfeaade30a7fa73c0ed2240b738dc54d3c (patch)
treee4ce91b0f0e6de182223eea3abe9e7ded745df6e
parentc1e723e1016953af4a24b04413c91bc711a98c61 (diff)
Fixed links to HTML5 spec.
-rw-r--r--spec.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec.txt b/spec.txt
index 344436f..cb42bc3 100644
--- a/spec.txt
+++ b/spec.txt
@@ -4095,7 +4095,7 @@ handle the unicode chars and need not be HTML-entity aware.
[Named entities](@name-entities) consist of `&`
+ any of the valid HTML5 entity names + `;`. The
-[following document](http://www.whatwg.org/specs/web-apps/current-work/multipage/entities.json)
+[following document](https://html.spec.whatwg.org/multipage/entities.json)
is used as an authoritative source of the valid entity names and their
corresponding codepoints.
@@ -6551,7 +6551,7 @@ and the URL is `mailto:` followed by the email address.
An [email address](@email-address),
for these purposes, is anything that matches
the [non-normative regex from the HTML5
-spec](http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#e-mail-state-%28type=email%29):
+spec](https://html.spec.whatwg.org/multipage/forms.html#e-mail-state-(type=email)):
/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?
(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/