X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/25d80789dda4d989f5b5e168ddd05a20d11c183b..cf11913d586bf9c25f003f4acd3b114367fa4aa9:/app/helpers/notifier_helper.rb diff --git a/app/helpers/notifier_helper.rb b/app/helpers/notifier_helper.rb index 5889b6ff8..be01e5391 100644 --- a/app/helpers/notifier_helper.rb +++ b/app/helpers/notifier_helper.rb @@ -18,4 +18,8 @@ module NotifierHelper :locals => { :body => capture(&block) } ) end + + def apply_inline_css(html) + html.gsub /

/, '

' + end end