X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=js%2Fpz2.js;fp=js%2Fpz2.js;h=bad26ac347493d6810d22c69a968b7718a7c28e0;hb=9cbe97e92bf5bafe179385692888e09426299f2d;hp=bf6a9b8235a2e7432a00b5227494c0325995284f;hpb=e230ff7e920fc1b9a997e5edc64b8946e41a0d33;p=pazpar2-moved-to-github.git 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; }