]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/notifier_helper.rb
Merge remote-tracking branch 'openstreetmap/pull/1401'
[rails.git] / app / helpers / notifier_helper.rb
index 5889b6ff827223c46a213bc2c345ad4f9c330713..3e53e2543c006a57f9dee08113099abd892df457 100644 (file)
@@ -18,4 +18,8 @@ module NotifierHelper
       :locals => { :body => capture(&block) }
     )
   end
+
+  def style_message(html)
+    html.gsub /<p>/, '<p style="color: black; margin: 0.75em 0">'
+  end
 end