Skip to content
Snippets Groups Projects
Commit bb3d1058 authored by Olivier PEREZ's avatar Olivier PEREZ
Browse files

Vote result: Clear markdown tags

parent c9ea1436
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,14 @@ $smarty->assign('lang', $lang);
$smarty->assign('langs', $ALLOWED_LANGUAGES);
$smarty->assign('date_format', $date_format);
function smarty_modifier_poll_url($poll_id, $admin=false){return Utils::getUrlSondage($poll_id, $admin);}
function smarty_modifier_markdown($md) {return Utils::markdown($md);}
function smarty_modifier_poll_url($poll_id, $admin = false) {
return Utils::getUrlSondage($poll_id, $admin);
}
function smarty_modifier_markdown($md, $clear = false) {
return Utils::markdown($md, $clear);
}
// End- Smarty
$connect = new FramaDB(DB_CONNECTION_STRING, DB_USER, DB_PASSWORD);
......
......@@ -177,7 +177,7 @@
<ul style="list-style:none">
{foreach $slots as $slot}
{if $best_choices[$i] == $max}
<li><strong>{$slot->title}</strong></li>
<li><strong>{$slot->title|markdown:true}</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