Fix missing p tag without violating the purity of plaintext

This commit is contained in:
2018-02-24 17:45:51 +01:00
parent 3ccaf69549
commit 43fb843b17
4 changed files with 8 additions and 8 deletions

View File

@@ -35,7 +35,7 @@ foreach($agenda->getNextDays() as $period => $events) {
<?php $description = $event->getDescription(); ?>
<?php if ($description_paragraphs) array_splice($description, $description_paragraphs); ?>
<?= implode($description, "</p>\n<p>") ?>
<p><?= implode($description, "</p>\n<p>") ?></p>
<ul class="subtext">
<li>Tid: <strong><?= Agenda::getFormattedDate($event->getStart()) ?></strong>