Handle markdown properly in the best choices section

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-05-25 19:34:36 +02:00
parent 92f699337f
commit 14053d20c9
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 2 additions and 2 deletions

View File

@ -361,9 +361,9 @@
{$i = 0}
<ul class="list-unstyled">
{foreach $slots as $slot}
{foreach $slots as $i => $slot}
{if $best_choices['y'][$i] == $max}
<li><strong>{$slot->title|markdown:true}</strong></li>
<li><strong>{markdown_to_text markdown=$slot->title id=$i}</strong></li>
{/if}
{$i = $i+1}
{/foreach}