mirror of
https://github.com/discourse/discourse.git
synced 2025-04-27 20:34:30 +08:00
use description_text instead of description to show correct sanitized description (#7420)
This commit is contained in:
parent
e351b2ee26
commit
d4bec7fdfb
@ -31,7 +31,7 @@
|
|||||||
<span itemprop='name'><%= subcategory.name %></span>
|
<span itemprop='name'><%= subcategory.name %></span>
|
||||||
</a>
|
</a>
|
||||||
<% if subcategory.description.present? %>
|
<% if subcategory.description.present? %>
|
||||||
<span itemprop='description'><%= subcategory.description %></span>
|
<span itemprop='description'><%= subcategory.description_text %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<br/>
|
<br/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user