Closed me2d09 closed 5 years ago
I assume this should apply to every field, including for example the title
in your example? If so, I think it would be better to put this here:
Also, I believe this doesn't catch single newlines, so /\s+/g
would be better.
Slightly different version added in https://github.com/citation-js/citation-js/commit/3f081bc5c1d930f966187466ae02a52c6b77a42a
When parsing bibtexfile with authors on more than one line, it produces:
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of object at _iterableToArrayLimit.
This change fixes the issue.Example input: