diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index a458e61b63..5d8663d06d 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -236,7 +236,7 @@ var Zotero_QuickFormat = new function () { */ function _getEditorContent(clear) { var node = _getCurrentEditorTextNode(); - return node ? node.wholeText : false; + return node ? node.wholeText.trim() : false; } /**