X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3e5ad4c5fed07eda993648f1998d9b0f5c78921..1d75ed68015331acc956286c307e3fbcec3509b5:/app/helpers/notifier_helper.rb?ds=sidebyside diff --git a/app/helpers/notifier_helper.rb b/app/helpers/notifier_helper.rb index 0510ae0a8..3e53e2543 100644 --- a/app/helpers/notifier_helper.rb +++ b/app/helpers/notifier_helper.rb @@ -14,8 +14,12 @@ module NotifierHelper def message_body(&block) render( - partial: "message_body", - locals: { body: capture(&block) } + :partial => "message_body", + :locals => { :body => capture(&block) } ) end + + def style_message(html) + html.gsub /
/, '
' + end end