From df0a3fb8531a452a7b3c6eb7cd7eb7cd59b32d88 Mon Sep 17 00:00:00 2001 From: Anton M Date: Wed, 1 Dec 2010 21:31:22 +0100 Subject: Handle carriage return characters in className property. Fixes #7673. --- src/attributes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/attributes.js') 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)$/, -- cgit v1.2.3