Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOI: Find DOIs in links, and other improvements
Search links in addition to page text, as discussed in the forums [1]. Also: - Make the order of results match the page - Possibly fix an issue where some DOIs could be left out if they appeared within the same text string (lastMatch should've been lastIndex; the former is read-only and non-numeric, so it's not clear that this ever worked) - Simplify the code [1] https://forums.zotero.org/discussion/comment/350735/#Comment_350735
- Loading branch information
Showing
1 changed file
with
60 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters