[kupu-checkins] r34311 - in kupu/trunk/kupu: common plone plone/kupu_plone_layer

Manos Batsis manos_lists at geekologue.com
Tue Nov 7 15:24:38 CET 2006


Quoting duncan at codespeak.net:

> -                tmp.innerHTML = oNode.xml ? oNode.xml :
> oNode.innerHTML;
> +                tmp.innerHTML = oNode.xml ? oNode.xml :
> oNode.outerHTML;

Ah, had forgot about this one. But is outerHTML supported by Mozilish
UAs out there? This [1] says its not, maybe we need to copy the node to
another temporary element and use that elements innerHTML in that case.
We can do that by making a recursive call with an additional parameter
in the  current sarissa head [2] i believe. WDYT?

Also looks like i need to convert thhe line ends :-/


[1] http://www.quirksmode.org/dom/w3c_html.html
[2]
http://sarissa.cvs.sourceforge.net/sarissa/sarissa/sarissa.js?view=markup




More information about the kupu-checkins mailing list