Kaynağa Gözat

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 3ede55f000bb7ef5ed7c1d6ffd060139801838b7.

* 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>
Rob Loach 2 ay önce
ebeveyn
işleme
a5bbd679d9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/views/helpers/index/authors.phtml

+ 1 - 1
app/views/helpers/index/authors.phtml

@@ -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;
 	}
 ?>