mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fix #10863. Allow newlines in JSON data- attributes.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var rbrace = /^(?:\{.*\}|\[.*\])$/,
|
||||
var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
|
||||
rmultiDash = /([A-Z])/g;
|
||||
|
||||
jQuery.extend({
|
||||
|
||||
Reference in New Issue
Block a user