X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fmanipulation.js;fp=test%2Funit%2Fmanipulation.js;h=2fc6f18899886570c5caa9f62de2728bc17feaa8;hb=88fc523c59465b28633de91f4c9e87b8364064b7;hp=e1d3dbf6add31f9a8ea8d869edad6bfefe1491b5;hpb=d558e9eb6f44783bb06666617c758408daf53e3d;p=jquery.git diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index e1d3dbf..2fc6f18 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -899,7 +899,7 @@ var testHtml = function(valueObj) { equals( div.children().children().length, 1, "Make sure that a grandchild exists." ); var space = jQuery("
").html(valueObj(" "))[0].innerHTML; - ok( /^\s$|^ $/.test( space ), "Make sure entities are passed through correctly." ); + ok( /^\xA0$|^ $/.test( space ), "Make sure entities are passed through correctly." ); equals( jQuery("
").html(valueObj("&"))[0].innerHTML, "&", "Make sure entities are passed through correctly." ); jQuery("#main").html(valueObj(""));