diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index cbfa22c8..c3cd19ec 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -42,7 +42,7 @@ module ApplicationHelper end def render_markdown(markdown) - sanitize Kramdown::Document.new(markdown).to_html + ActionController::Base.helpers.sanitize Kramdown::Document.new(markdown).to_html end def row(options = {}, &block)