mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #4989 from begrif/html-safe-category-desc
Stop Rails from escaping the HTML in this description.
This commit is contained in:
commit
0d66a41753
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user