Unescape HTML properly in IE

This commit is contained in:
Simon Kornblith 2012-05-26 19:09:42 -04:00
parent 4be5452b55
commit 013b080ca5

View file

@ -364,7 +364,7 @@ Zotero.Utilities = {
} else {
var node = document.createElement("div");
node.innerHTML = str;
return node.textContent;
return (node.innerText ? node.innerText : node.textContent);
}
},