Render descriptions as Markdown
This commit is contained in:
parent
4593bf2b2a
commit
758b01518a
10 changed files with 42 additions and 12 deletions
|
|
@ -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? %>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue