extract = /<a href="\/ticket\/(\d+)" title="View ticket">(.*?)<[^"]+"component">\s*(\S+)/g;
var opts = {
- version: "1.6",
- short_version: "1.6",
- final_version: "1.6",
+ version: "1.6.1 RC 1",
+ short_version: "1.6rc1",
+ final_version: "1.6.1",
categories: []
};
});
test( "jQuery.html - execute scripts escaped with html comment or CDATA (#9221)", function() {
- expect( 2 );
+ expect( 3 );
jQuery( [
'<script type="text/javascript">',
'<!--',
'//]]>',
'</script>'
].join ( "\n" ) ).appendTo( "#qunit-fixture" );
+ jQuery( [
+ '<script type="text/javascript">',
+ '<!--//--><![CDATA[//><!--',
+ 'ok( true, "<!--//--><![CDATA[//><!-- (Drupal case) handled" );',
+ '//--><!]]>',
+ '</script>'
+ ].join ( "\n" ) ).appendTo( "#qunit-fixture" );
});