This commit is contained in:
Ikko Eltociear Ashimine 2025-03-14 10:33:16 +00:00 committed by GitHub
commit 04255ef728
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -563,7 +563,7 @@ BibtexParser.prototype.processCharacter_ = function (c) {
doneParsingValue = true
} else {
// sometimes imported bibs will have {\},{\\}, {\\\}, {\\\\}, etc for whitespace,
// which would otherwise break the parsing. we watch for these occurences of
// which would otherwise break the parsing. we watch for these occurrences of
// 1+ backslashes in an empty bracket pair to gracefully handle the malformed bib file
const doubleSlash =
valueCharsArray.length >= 2 &&