Merge pull request #4989 from begrif/html-safe-category-desc

Stop Rails from escaping the HTML in this description.
This commit is contained in:
Sam 2017-07-25 13:41:30 -04:00 committed by GitHub
commit 0d66a41753

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>