mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
no ticket: fix jQuery suite failure on Android
This commit is contained in:
Submodule src/sizzle updated: badbeffba4...f51e83a9c9
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user