Switch to useing markdown for user formatted text
This commit is contained in:
@@ -38,7 +38,10 @@ $nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
|
||||
</strong>
|
||||
</ul>
|
||||
|
||||
<?= implode($nextEvent->getDescription(), "<p>\n</p>")?>
|
||||
<?php
|
||||
$Parsedown = new \Parsedown();
|
||||
echo $Parsedown->text(implode("\n", $nextEvent->getDescription()));
|
||||
?>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
|
Reference in New Issue
Block a user