X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9dfb2729abf4836992e51c726326e26e7791d243..3c1371adaf8cd9f2f67fd5e2be3b66c3fa42b56a:/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