davidagraf / doi2bib2

350 stars 24 forks source link

Trim leading / trailing whitespace on DOIs #11

Closed lukoerfer closed 5 years ago

lukoerfer commented 5 years ago

Unnecessary whitespace before or after the DOI will cause the service to fail, which can simply be prevented by trimming it before processing the input. I guess there would be no difference between trimming on client or on server.

lukoerfer commented 5 years ago

Sorry, it seemed to be another problem with my DOI. Please delete this issue.