This commit is contained in:
Garvin Hicking 2008-12-19 20:50:10 +00:00
parent 0eb387d7b4
commit 9bc05914b5
2 changed files with 8 additions and 4 deletions

View File

@ -22,13 +22,15 @@ break;
case 2:
break;
case 4:
_9+=(Xinha.is_ie?("\n"+_8):"")+"<![CDATA["+_5.data+"]]>";
// s9y patch, ticket #1360
_9+=(Xinha.is_ie?(""+_8):"")+"<![CDATA["+_5.data+"]]>";
break;
case 5:
_9+="&"+_5.nodeValue+";";
break;
case 7:
_9+=(Xinha.is_ie?("\n"+_8):"")+"<"+"?"+_5.target+" "+_5.data+" ?>";
// s9y patch, ticket #1360
_9+=(Xinha.is_ie?(""+_8):"")+"<"+"?"+_5.target+" "+_5.data+" ?>";
break;
case 1:
case 11:
@ -155,7 +157,8 @@ for(i=_5.firstChild;i;i=i.nextSibling){
if(!_18&&i.nodeType==1&&Xinha.isBlockElement(i)){
_18=true;
}
_9+=Xinha.getHTMLWrapper(i,true,_7,_8+" ");
// S9Y PATCH, TICKET #1360
_9+=Xinha.getHTMLWrapper(i,true,_7,_8);
}
if(_6&&!_a){
_9+=(((Xinha.isBlockElement(_5)&&_18)||_c=="head"||_c=="html")?("\n"+_8):"")+"</"+_5.tagName.toLowerCase()+">";

View File

@ -144,7 +144,8 @@ _18=_18.replace(/<br \/>\n$/,"");
if(_16){
_18+="</"+_1e+">";
}
_18=Xinha.indent(_18);
//COMMENTED OUT FROM S9Y, TICKET #1360
//_18=Xinha.indent(_18);
}
return _18;
};