diff options
author | Boom Lee <teabyii@gmail.com> | 2017-03-29 22:42:13 +0800 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2017-03-29 10:42:13 -0400 |
commit | e1b1b2d7fe5aff907a9accf59910bc3b7e4d1dec (patch) | |
tree | bbfd16788a4d1af4d5e983b98791aff46562618a /src | |
parent | c1c549793a8772107e128d21f8a8f0c3fdf0f027 (diff) | |
download | jquery-e1b1b2d7fe5aff907a9accf59910bc3b7e4d1dec.tar.gz jquery-e1b1b2d7fe5aff907a9accf59910bc3b7e4d1dec.zip |
Docs: Update links to HTML spec for stripAndCollapse (#3594)
Diffstat (limited to 'src')
-rw-r--r-- | src/core/stripAndCollapse.js | 2 | ||||
-rw-r--r-- | src/var/rnothtmlwhite.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stripAndCollapse.js b/src/core/stripAndCollapse.js index ccad6602e..2b63820da 100644 --- a/src/core/stripAndCollapse.js +++ b/src/core/stripAndCollapse.js @@ -4,7 +4,7 @@ define( [ "use strict"; // Strip and collapse whitespace according to HTML spec - // https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace function stripAndCollapse( value ) { var tokens = value.match( rnothtmlwhite ) || []; return tokens.join( " " ); diff --git a/src/var/rnothtmlwhite.js b/src/var/rnothtmlwhite.js index 30604db4f..29eebf287 100644 --- a/src/var/rnothtmlwhite.js +++ b/src/var/rnothtmlwhite.js @@ -3,6 +3,6 @@ define( function() { // Only count HTML whitespace // Other whitespace should count in values - // https://html.spec.whatwg.org/multipage/infrastructure.html#space-character + // https://infra.spec.whatwg.org/#ascii-whitespace return ( /[^\x20\t\r\n\f]+/g ); } ); |