Skip to content

Commit

Permalink
Be fussy about math symbolx in PDF text dump
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Feb 5, 2018
1 parent 6d80075 commit 778d8b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chrome/content/zotero/recognizePDF.js
Expand Up @@ -682,6 +682,10 @@ var Zotero_RecognizePDF = new function() {
skipLine = true;
break;
}
if (words[i].match(/[\u2200-\u22ff\u2a00-\u2aff\u2140-\u214f]/)) {
skipLine = true;
break;
}
}
// Add words to query
if(!skipLine && words.length) {
Expand Down

0 comments on commit 778d8b6

Please sign in to comment.