From 645c596970246532fa3239d677d7f46cfca22f16 Mon Sep 17 00:00:00 2001 From: Andrei Khalipau Date: Wed, 4 Aug 2021 15:30:09 -0400 Subject: [PATCH] Fix audiolabs#5: BibTeX import incorrectly parses quotes. --- src/AudioLabs/BibtexParser/BibtexParser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AudioLabs/BibtexParser/BibtexParser.php b/src/AudioLabs/BibtexParser/BibtexParser.php index 04778dc..b15b693 100644 --- a/src/AudioLabs/BibtexParser/BibtexParser.php +++ b/src/AudioLabs/BibtexParser/BibtexParser.php @@ -106,6 +106,7 @@ static function cleanup($value) { $value=str_replace($search,$replace,$value); $value=rtrim($value, '}, '); + $value = trim($value, '"'); return trim($value); } }