Fix space between 'By:' and the author name (#8422)

* Fix space between 'By:' and the author name

* Use a different approach than sprintf()

* Revert "Use a different approach than sprintf()"

This reverts commit 3ede55f000.

* Apply a space between By: and the author name

* Apply suggestion from @Alkarex

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
This commit is contained in:
Rob LoachandAlexandre Alapetite authored and GitHub committed 2026-01-10 20:50:35 +01:00
1 parent b0a5f063ab
commit a5bbd679d9
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@
$first = true;
foreach ($this->entry->authors() as $author) {
$href = Minz_Url::display(Minz_Request::modifiedCurrentRequest(['search' => 'author:"' . htmlspecialchars_decode($author, ENT_QUOTES) . '"']));
?><?= $first ? '' : ' · ' ?><a href="<?= $href ?>" title="<?= _t('gen.action.filter') ?>"><?= $author ?></a><?php
?><?= $first ? ' ' : ' · ' ?><a href="<?= $href ?>" title="<?= _t('gen.action.filter') ?>"><?= $author ?></a><?php
$first = false;
}
?>