Update website

This commit is contained in:
Guilhem Lavaux 2024-11-23 21:14:56 +01:00
parent efdd6d5635
commit 8f81dc01bd

View File

@ -123,7 +123,9 @@ $listener->addProcessor(new Processor\TagNameCaseProcessor(CASE_LOWER));
$listener->addProcessor(new NamesProcessor()); $listener->addProcessor(new NamesProcessor());
$listener->addProcessor(static function (array $entry) { $listener->addProcessor(static function (array $entry) {
$entry['title'] = removeBoundingBraces($entry['title']); $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'])) { if (isset($entry['journal'])) {
$entry['journal'] = expandJournalReferences($entry['journal']); $entry['journal'] = expandJournalReferences($entry['journal']);
} }