diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index f035c13a22..93e2212c85 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -2323,7 +2323,7 @@ Zotero.Item.prototype.getNote = function() { // Don't include
wrapper when returning value var startLen = note.substr(0, 36).match(/^
/)[0].length; var endLen = 6; // "
".length - note = note.substr(startLen, note.length - endLen); + note = note.substr(startLen, note.length - startLen - endLen); } this._noteText = note ? note : '';