diff --git a/themes/bootstrap3/templates/RecordDriver/DefaultRecord/data-authors.phtml b/themes/bootstrap3/templates/RecordDriver/DefaultRecord/data-authors.phtml index 5a30567231ded60a56bdf1a808663558577be4e8..f8fdeac225c69a1d6b831b76d59b66562fc83e08 100644 --- a/themes/bootstrap3/templates/RecordDriver/DefaultRecord/data-authors.phtml +++ b/themes/bootstrap3/templates/RecordDriver/DefaultRecord/data-authors.phtml @@ -16,7 +16,7 @@ $formattedAuthors = []; <?php ob_start(); ?> <span class="author-data" property="<?=$this->escapeHtml($schemaLabel)?>"> <a href="<?=$this->record($this->driver)->getLink('author', $author)?>"> - <?=$this->escapeHtml($author)?> + <?=$this->escapeHtml(rtrim($author, ','))?> </a> <?php // Display additional data using the appropriate translation prefix diff --git a/themes/bootstrap3/templates/RecordDriver/DefaultRecord/result-list.phtml b/themes/bootstrap3/templates/RecordDriver/DefaultRecord/result-list.phtml index b44fa08be2b061296f429a439177cdd84f41ff5e..fbfa818e6cfab533138340d7ffa49d7e420ea89d 100644 --- a/themes/bootstrap3/templates/RecordDriver/DefaultRecord/result-list.phtml +++ b/themes/bootstrap3/templates/RecordDriver/DefaultRecord/result-list.phtml @@ -32,7 +32,7 @@ <?php $summAuthors = $this->driver->getPrimaryAuthorsWithHighlighting(); if (!empty($summAuthors)): ?> <?=$this->transEsc('by')?> <?php $authorCount = count($summAuthors); foreach ($summAuthors as $i => $summAuthor): ?> - <a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>"><?=$this->highlight($summAuthor)?></a><?=$i + 1 < $authorCount ? ',' : ''?> + <a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>"><?=$this->highlight(rtrim($summAuthor, ','))?></a><?=$i + 1 < $authorCount ? ',' : ''?> <?php endforeach; ?> <?php endif; ?>