Merge branch 'restrictAttr' of https://github.com/jitter/jquery into jitter-restrictAttr
[jquery.git] / src / attributes.js
index f463b4a..b0e3601 100644 (file)
@@ -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)$/,