diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js index 6b3f67a14e..f399fb90fd 100644 --- a/chrome/content/zotero/recognizePDF.js +++ b/chrome/content/zotero/recognizePDF.js @@ -106,7 +106,7 @@ var Zotero_RecognizePDF = new function() { Zotero.debug("RecognizePDF: "+error); // Use only first column from multi-column lines - const lineRe = /^\s*([^\s]+(?: [^\s]+)+)/; + const lineRe = /^[\s_]*([^\s]+(?: [^\s_]+)+)/; var cleanedLines = [], cleanedLineLengths = []; for(var i=0; i