www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 013b080ca5d37b5fee36b8c44d2ce5b6cfd9fa4e
parent 4be5452b55376d86b15f75ecf2aa4b7c1a273f62
Author: Simon Kornblith <simon@simonster.com>
Date:   Sat, 26 May 2012 19:09:42 -0400

Unescape HTML properly in IE

Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -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); } },