From 9cbe97e92bf5bafe179385692888e09426299f2d Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Fri, 2 Apr 2010 10:36:54 +0200 Subject: [PATCH] Use #text for text nodes content --- js/pz2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/pz2.js b/js/pz2.js index bf6a9b8..bad26ac 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -967,7 +967,7 @@ Element_parseChildNodes = function (node) // if no nested elements, get text content if (node.hasChildNodes() && !hasChildElems) { if (node.attributes.length) - parsed['textContent'] = node.firstChild.nodeValue; + parsed['#text'] = node.firstChild.nodeValue; else parsed = node.firstChild.nodeValue; } -- 1.7.10.4