Unescape HTML properly in IE
This commit is contained in:
parent
4be5452b55
commit
013b080ca5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue