added trusted markdown renderer (for info)

This commit is contained in:
jomo
2014-04-30 01:14:19 +02:00
parent 41382c3d0d
commit c109f8d23a
3 changed files with 29 additions and 3 deletions

View File

@@ -2,4 +2,4 @@
<%= link_to "Edit Info", edit_info_path(@info), class: "btn blue right" %>
<div class="clear"></div>
<h1><%= @info.title %></h1>
<div class="post"><%= render_md(@info.content).html_safe %></div>
<div class="post"><%= render_trusted_md(@info.content).html_safe %></div>