aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2012-10-17 15:20:15 -0400
committerRichard Gibson <richard.gibson@gmail.com>2012-10-17 15:20:50 -0400
commitc31539c8a21e828efb296573c0272bc21220e24c (patch)
tree07ff2c8f5813953aef07ceb28b01b8ac83a4af50 /test/data
parent063ea024e945adbeefbf88578f8ba424ca8a0939 (diff)
downloadjquery-c31539c8a21e828efb296573c0272bc21220e24c.tar.gz
jquery-c31539c8a21e828efb296573c0272bc21220e24c.zip
no ticket: fix jQuery suite failure on Android
Diffstat (limited to 'test/data')
-rw-r--r--test/data/testrunner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/data/testrunner.js b/test/data/testrunner.js
index ef3a55568..9b77ac39f 100644
--- a/test/data/testrunner.js
+++ b/test/data/testrunner.js
@@ -60,7 +60,7 @@ function testSubproject( label, url, risTests ) {
success: function( data, status, jqXHR ) {
var page = jQuery.parseHTML(
// replace html/head with dummy elements so they are represented in the DOM
- ( data || "" ).replace( /(<\/?)(?:html|head)\b/g, "$1div" ),
+ ( data || "" ).replace( /<\/?((!DOCTYPE|html|head)\b.*?)>/gi, "[$1]" ),
document,
true
);