Skip to content

Commit

Permalink
fix: body information not formatted as Markdown
Browse files Browse the repository at this point in the history
The editor only supports Markdown, however, the actual page relied on the
description(s) having HTML in them. This ensures that Markdown is supported on
both ends.
  • Loading branch information
tomudding committed Dec 11, 2024
1 parent 5abea51 commit d1585aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Frontpage/view/frontpage/organ/organ.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function getOrganDescription($organInformation, $lang)
<div class="row">
<div class="col-md-8">
<h1 class="h-wrap"><?= $this->escapeHtml($organ->getName()) ?></h1>
<?php echo getOrganDescription($organInformation, $lang) ?>
<?= $this->markdown(getOrganDescription($organInformation, $lang)) ?>
</div>
<div class="col-md-4">
<div class="panel panel-default">
Expand Down

0 comments on commit d1585aa

Please sign in to comment.