[FIX] Internet Explorer can't CDATA in HTML documents, convert XML CDATA sections into TEXT html sections
bzr revid: xmo@openerp.com-20120118112451-f7sbhzalhl2vapmc
This commit is contained in:
parent
d5a0079d09
commit
00af91057f
|
@ -310,8 +310,9 @@ QWeb2.Engine = (function() {
|
|||
},
|
||||
convert_xml_to_html: function (node) {
|
||||
switch (node.nodeType) {
|
||||
case 3: return document.createTextNode(node.data);
|
||||
case 4: return document.createCDATASection(node.data);
|
||||
case 3:
|
||||
case 4:
|
||||
return document.createTextNode(node.data);
|
||||
case 8: return document.createComment(node.data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue