Skip to content

Commit

Permalink
Marigolds: Fix description not loaded on complete entry display config
Browse files Browse the repository at this point in the history
  • Loading branch information
Simounet committed Jan 10, 2024
1 parent 0ffb5c8 commit 050e797
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/marigolds/article.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{loop="$events"}
{$plainDescription=htmlspecialchars(strip_tags($value->getDescription()))}
{if="$value->getDescription()"}
{$plainDescription=htmlspecialchars(strip_tags($value->getDescription()))}
{else}
{$plainDescription=''}
{/if}

<!-- CORPS ARTICLE -->

Expand Down

0 comments on commit 050e797

Please sign in to comment.