Implode with <br>

This commit is contained in:
2018-02-14 17:55:41 +01:00
parent 87c6523f35
commit 9f935cd810
6 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ $agenda = new \pvv\side\Agenda([
<?php $description = $event->getDescription(); ?>
<?php if ($limit) array_splice($description, $limit); ?>
<?= implode($description, "</p>\n<p>") ?>
<?= implode($description, "<br>") ?>
</article>
<?php if (!$limit || $limit > 4) {$limit = 4;} else $limit = 2; ?>