use description_text instead of description to show correct sanitized description (#7420)

This commit is contained in:
Saurabh Patel 2019-04-24 12:03:58 +05:30 committed by Sam
parent e351b2ee26
commit d4bec7fdfb

View File

@ -31,7 +31,7 @@
<span itemprop='name'><%= subcategory.name %></span>
</a>
<% if subcategory.description.present? %>
<span itemprop='description'><%= subcategory.description %></span>
<span itemprop='description'><%= subcategory.description_text %></span>
<% end %>
<% end %>
<br/>