diff options
m--------- | src/sizzle | 0 | ||||
-rw-r--r-- | test/data/testrunner.js | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/sizzle b/src/sizzle -Subproject badbeffba4714432a663f1150d3ffb1e20b6e19 +Subproject f51e83a9c9bd78f1cafda9fa9b3b93fefa61c3a 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 ); |