Skip to content

Commit

Permalink
fix getMetaContent doi parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rsch committed Oct 10, 2023
1 parent 3e93978 commit bffb9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/js/utils/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ const extractDataFromDCMetaTags = (dom) => {
const key = `${
author.split(" and ")[0].split(" ")[1]
}${year}${firstNonStopLowercase(title)}`.toLowerCase();
const doi = getMetaContent({ name: "dc.Date", scheme: "doi" }, dom);
const doi = getMetaContent({ scheme: "doi" }, dom);
const bibtex = bibtexToString({
citationKey: key,
entryType: "article",
Expand Down

0 comments on commit bffb9f5

Please sign in to comment.