]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/user_mailer_helper.rb
Merge remote-tracking branch 'upstream/pull/4842'
[rails.git] / app / helpers / user_mailer_helper.rb
index 39977f5a7339a524ef95b81376e08ba98857d3dd..e5d6e39aca4a6259f95a92c1ed2c873d63877ed0 100644 (file)
@@ -29,7 +29,7 @@ module UserMailerHelper
     # Because we can't use stylesheets in HTML emails, we need to inline the
     # styles. Rather than copy-paste the same string of CSS into every message,
     # we apply it once here, after the message has been composed.
-    html.gsub(/<p>/, '<p style="color: black; margin: 0.75em 0; font-family: \'Helvetica Neue\', Arial, Sans-Serif">')
+    html.gsub("<p>", '<p style="color: black; margin: 0.75em 0; font-family: \'Helvetica Neue\', Arial, Sans-Serif">')
   end
 
   def style_left