File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -58,16 +58,17 @@ Echo.Tests.test("public interface", function() {
58
58
view . render ( {
59
59
"template" : templates . small ,
60
60
"data" : {
61
- "title" : "test\"title"
61
+ "title" : "test' \"title"
62
62
}
63
63
} ) ;
64
64
QUnit . ok ( ! view . get ( "container" ) ,
65
65
"Checking if no elements available after the second \"render\" function call with another template" ) ;
66
66
QUnit . ok ( ! ! view . get ( "wrapper" ) ,
67
67
"Checking if new elements are available after the second \"render\" function call with another template" ) ;
68
68
QUnit . equal (
69
- view . get ( "wrapper" ) . html ( ) ,
70
- '<div title="test"title">test"title</div>' ,
69
+ // toLowerCase is for IE8 only (it likes to use capital letters for tag names)
70
+ view . get ( "wrapper" ) . html ( ) . toLowerCase ( ) ,
71
+ '<div title="test\'"title">test\'"title</div>' ,
71
72
"Checking if normalizer properly escapes HTML attributes in \"substitute\" method"
72
73
) ;
73
74
} ) ;
You can’t perform that action at this time.
0 commit comments