X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f3c9f4edb40aa03fbf7458904e3774d2e11ff3a5..0440984bc79031efe48dfdc3f6810523989841cf:/lib/rich_text.rb diff --git a/lib/rich_text.rb b/lib/rich_text.rb index 87ea58933..533c8fbb4 100644 --- a/lib/rich_text.rb +++ b/lib/rich_text.rb @@ -10,6 +10,7 @@ module RichText class SimpleFormat include ActionView::Helpers::TextHelper + include ActionView::Helpers::OutputSafetyHelper def sanitize(text) Sanitize.clean(text, Sanitize::Config::OSM).html_safe