mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:09:33 +08:00
Merge pull request #4996 from ryantm/patch-2
safely call html_safe on category description
This commit is contained in:
commit
ec2506c32b
|
@ -6,7 +6,7 @@
|
|||
<h2><a href='<%= c.url %>' itemprop='item'>
|
||||
<span itemprop='name'><%= c.name %></span>
|
||||
</a></h2>
|
||||
<span itemprop='description'><%= c.description.html_safe %></span>
|
||||
<span itemprop='description'><%= c.description&.html_safe %></span>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user