bibcure / doi2bib

get the bibtex string given a doi
https://doi2bib.readthedocs.io/
MIT License
186 stars 27 forks source link

fix abbr. journal replacement #10

Open tungli opened 3 years ago

tungli commented 3 years ago

Fixes #6

Abbreviated journal replacement has a problem with unbalanced curly brackets due to the regex replacement. I modified this replacement so that it uses the parsed data directly (no regex).

I also refactored the code a bit. Please check if this makes sense. Thanks!