diff options
author | Anton M <obhvsbypqghgc@gmail.com> | 2010-12-01 21:31:22 +0100 |
---|---|---|
committer | Anton M <obhvsbypqghgc@gmail.com> | 2010-12-01 21:31:22 +0100 |
commit | df0a3fb8531a452a7b3c6eb7cd7eb7cd59b32d88 (patch) | |
tree | e17731f3a6a6390968231e6f85d0b57bd0ec6c6e /src/attributes.js | |
parent | e1d6edf822f7f875f794849723b13bbf74dd3c83 (diff) | |
download | jquery-df0a3fb8531a452a7b3c6eb7cd7eb7cd59b32d88.tar.gz jquery-df0a3fb8531a452a7b3c6eb7cd7eb7cd59b32d88.zip |
Handle carriage return characters in className property. Fixes #7673.
Diffstat (limited to 'src/attributes.js')
-rw-r--r-- | src/attributes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes.js b/src/attributes.js index 4824c2902..4d54fd4e4 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -1,6 +1,6 @@ (function( jQuery ) { -var rclass = /[\n\t]/g, +var rclass = /[\n\t\r]/g, rspaces = /\s+/, rreturn = /\r/g, rspecialurl = /^(?:href|src|style)$/, |