Stop Rails from escaping the HTML in this description.

This commit is contained in:
Benjamin Elijah Griffin 2017-07-24 17:15:15 -07:00
parent 4da98cdcfe
commit 4f77ca72a3
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<h2><a href='<%= c.url %>' itemprop='item'>
<span itemprop='name'><%= c.name %></span>
</a></h2>
<span itemprop='description'><%= c.description %></span>
<span itemprop='description'><%= c.description.html_safe %></span>
</div>
<% end %>
</div>