From 8f81dc01bddceacf87da9bb67a7372db13155618 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sat, 23 Nov 2024 21:14:56 +0100 Subject: [PATCH] Update website --- publi_bib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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']); }