diff --git a/publi_bib.php b/publi_bib.php index a8b8a13..fa38953 100644 --- a/publi_bib.php +++ b/publi_bib.php @@ -123,7 +123,9 @@ $listener->addProcessor(new Processor\TagNameCaseProcessor(CASE_LOWER)); $listener->addProcessor(new NamesProcessor()); $listener->addProcessor(static function (array $entry) { $entry['title'] = removeBoundingBraces($entry['title']); - print_r($entry['author']); + foreach ($entry['author'] as $i=>$v) { + $entry['author'][$i]['last'] = removeBoundingBraces($v['last']); + } if (isset($entry['journal'])) { $entry['journal'] = expandJournalReferences($entry['journal']); }