Render descriptions as Markdown

This commit is contained in:
ricola 2025-09-27 18:57:36 +02:00
parent 4593bf2b2a
commit 758b01518a
10 changed files with 42 additions and 12 deletions

View file

@ -4,7 +4,7 @@
<p><%= _("Closing date: %{date}" % { date: format_date_and_time(@vote.expire_on) }) %></p>
<% end %>
<p><%= @vote.description %></p>
<%= markdown(@vote.description) %>
<% unless @vote.ratings.blank? %>