Fix unescape for blank strings
This commit is contained in:
parent
013b080ca5
commit
e1edcb358a
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.innerText ? node.innerText : node.textContent);
|
||||
return ("innerText" in node ? node.innerText : node.textContent);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue