app/cells/decidim/accountability/project_cell.rb in decidim-accountability-0.28.0 vs app/cells/decidim/accountability/project_cell.rb in decidim-accountability-0.28.1
- old
+ new
@@ -21,14 +21,14 @@
end
private
def title
- translated_attribute result.title
+ decidim_escape_translated result.title
end
def description
- translated_attribute(result.description).html_safe
+ decidim_sanitize_admin translated_attribute(result.description)
end
def scope
current_scope.presence
end