Skip to content

Commit

Permalink
https://github.com/ubtue/DatenProbleme/issues/1040
Browse files Browse the repository at this point in the history
  • Loading branch information
socheres authored Jul 6, 2020
1 parent b07fa61 commit 44d506f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Taylor and Francis+NEJM.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function finalizeItem(item, doc, doi, baseUrl) {
let sectionheading = ZU.xpathText(doc, '//div[@class="toc-heading"]');
if (sectionheading) {
sectionheading = sectionheading.trim();
if (sectionheading.match(/^(Book )?(Reviews|Symposium)?/i))
if (sectionheading.match(/^(Book )?(Reviews|Symposium)?$/i))
item.tags.push("Book Reviews");
}

Expand Down

0 comments on commit 44d506f

Please sign in to comment.