From 7e281b4507f48263927f54e8361cedf71e534abc Mon Sep 17 00:00:00 2001 From: rob1n Date: Thu, 31 May 2007 01:38:11 +0000 Subject: [PATCH] Prototype fix to keep Safari < 2 from blowing up. fixes #4363 git-svn-id: https://develop.svn.wordpress.org/trunk@5604 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/prototype.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/prototype.js b/wp-includes/js/prototype.js index 5d2100fac2..ba526b6ec0 100644 --- a/wp-includes/js/prototype.js +++ b/wp-includes/js/prototype.js @@ -24,7 +24,7 @@ var Prototype = { document.createElement('form').__proto__) }, - ScriptFragment: ']*>([\u0001-\uFFFF]*?)', + ScriptFragment: ']*>([\\s\\S]*?)<\/script>', JSONFilter: /^\/\*-secure-\s*(.*)\s*\*\/\s*$/, emptyFunction: function() { },