Skip to content
Snippets Groups Projects
Unverified Commit 14053d20 authored by Thomas Citharel's avatar Thomas Citharel
Browse files

Handle markdown properly in the best choices section


Signed-off-by: default avatarThomas Citharel <tcit@tcit.fr>
parent 92f69933
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment