Mark sanitized text as HTML safe

This commit is contained in:
Tom Hughes 2011-11-15 09:58:10 +00:00
parent 1d6051d08b
commit 45ec042c90

View file

@ -2,7 +2,7 @@ module ApplicationHelper
require 'rexml/document'
def sanitize(text)
Sanitize.clean(text, Sanitize::Config::OSM)
Sanitize.clean(text, Sanitize::Config::OSM).html_safe
end
def htmlize(text)