Skip to content

Commit

Permalink
Adding in test case to support #9211.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed May 11, 2011
1 parent 391398c commit f794f48
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/release-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ var fs = require("fs"),
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: []
};

Expand Down
2 changes: 1 addition & 1 deletion test/qunit
Submodule qunit updated from d97b37 to 988766
9 changes: 8 additions & 1 deletion test/unit/manipulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ test("jQuery.buildFragment - no plain-text caching (Bug #6779)", function() {
});

test( "jQuery.html - execute scripts escaped with html comment or CDATA (#9221)", function() {
expect( 2 );
expect( 3 );
jQuery( [
'<script type="text/javascript">',
'<!--',
Expand All @@ -1413,4 +1413,11 @@ test( "jQuery.html - execute scripts escaped with html comment or CDATA (#9221)"
'//]]>',
'</script>'
].join ( "\n" ) ).appendTo( "#qunit-fixture" );
jQuery( [
'<script type="text/javascript">',
'<!--//--><![CDATA[//><!--',
'ok( true, "<!--//--><![CDATA[//><!-- (Drupal case) handled" );',
'//--><!]]>',
'</script>'
].join ( "\n" ) ).appendTo( "#qunit-fixture" );
});

0 comments on commit f794f48

Please sign in to comment.