app/cells/decidim/comments/comment_metadata_cell.rb in decidim-comments-0.28.4 vs app/cells/decidim/comments/comment_metadata_cell.rb in decidim-comments-0.29.0.rc1
- old
+ new
@@ -12,10 +12,10 @@
[author_item, commentable_item, comments_count_item]
end
def commentable_item
{
- text: decidim_html_escape(translated_attribute(root_commentable.title)),
+ text: decidim_escape_translated(root_commentable.title),
icon: resource_type_icon_key(root_commentable.class)
}
end
def comments_count_item