File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -865,10 +865,10 @@ exports.tests = {
865
865
parsing_and_serializing_unknown_entities : function ( test ) {
866
866
var html = '<html><body>&nowayjose;☺lah;	q;</body></html>' ;
867
867
var document = jsdom . jsdom ( html ) ;
868
- test . strictEqual ( document . body . firstChild . nodeValue , "&nowayjose;☺lah;	q ;" ,
869
- "Unknown and unparsable entities should be left in the decoded text " ) ;
870
- test . strictEqual ( document . body . innerHTML , "&nowayjose;☺&#xblah;&#9q ;" ,
871
- "Unknown and unparsable entities should be reserialized as literal text " ) ;
868
+ test . strictEqual ( document . body . firstChild . nodeValue , "&nowayjose;☺lah; q ;" ,
869
+ "Unknown and unparsable entities should be handled like a browser would " ) ;
870
+ test . strictEqual ( document . body . innerHTML , "&nowayjose;☺lah; q ;" ,
871
+ "Unknown and unparsable entities should be handled like a browser would " ) ;
872
872
test . done ( ) ;
873
873
} ,
874
874
You can’t perform that action at this time.
0 commit comments