Skip to content

Commit dbd9b85

Browse files
committed
Core: Fix invalid HTML, it gives IE8 the vapors
jQuery doesn't guarantee useful output on unmatched tags.
1 parent 6708210 commit dbd9b85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test( "jQuery(html) loose rules", function() {
1818
nowarns = {
1919
"simple tag": "<div />",
2020
"single tag with properties": "<input type=text name=easy />",
21-
"embedded newlines": "<div>very\nspacey\n<div>like\n</div> text </div></div>",
21+
"embedded newlines": "<div>very\nspacey\n like\n<div> text </div></div>",
2222
"embedded hash": "<p>love potion <strong bgcolor='#bad'>#9</strong></p>",
2323
"complex html": "<div id='good'><p id='guy'> hello !</p></div>"
2424
},

0 commit comments

Comments
 (0)