2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

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

View file

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