rem: var text = element.innerText; if (text == null || text == "") { try {text = element.textContent} catch (err) {} if (text == null || text == "") {text = element.innerHTML} 
add: var text = ''; for (var i = 0; i < element.childNodes.length; i++) { if (element.childNodes[i].nodeValue == null) {text += ' '} else {text += element.childNodes[i].nodeValue} 
context:   GetElementText: function (element) {    var text = element.innerText;    if (text == null || text == "") {      try {text = element.textContent} catch (err) {}      if (text == null || text == "") {text = element.innerHTML}    }    if (text.search('&') >= 0) {      text = text.replace(/&lt;/g,'<');      text = text.replace(/&gt;/g,'>');      text = text.replace(/&quot;/g,'"');      text = text.replace(/&amp;/g,'&');    }    return text;  },
meta: 7708	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7708/80539383c07d69456fc3b36aea6d2349035a120f/jsMath.js/buggy/htdocs/jsMath/uncompressed/jsMath.js