app/helpers/decidim/proposals/proposals_helper.rb in decidim-proposals-0.27.2 vs app/helpers/decidim/proposals/proposals_helper.rb in decidim-proposals-0.27.3
- old
+ new
@@ -5,10 +5,10 @@
# Simple helpers to handle markup variations for proposals
module ProposalsHelper
def proposal_reason_callout_announcement
{
title: proposal_reason_callout_title,
- body: decidim_sanitize_editor(translated_attribute(@proposal.answer))
+ body: decidim_sanitize_editor_admin(translated_attribute(@proposal.answer))
}
end
def proposal_reason_callout_class
case @proposal.state