Fix #10863. Allow newlines in JSON data- attributes.

This commit is contained in:
Dave Methvin
2012-08-23 22:19:06 -04:00
parent c01e022f33
commit 2263134b22
2 changed files with 9 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
var rbrace = /^(?:\{.*\}|\[.*\])$/,
var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
rmultiDash = /([A-Z])/g;
jQuery.extend({