]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/notifier.html.erb
Apply inline styling to all <p> tags
[rails.git] / app / views / layouts / notifier.html.erb
index 8122125cbf14c349dab66e65bbda75f00fc34f5a..8575424f2389d5662b6dcfcebba9fa8130fe2cad 100644 (file)
@@ -1,6 +1,5 @@
 <html>
   <head>
-    <title></title>
     <meta charset="UTF-8"></meta>
   </head>
   <body style="padding: 0; margin: 0; font-size: 14px; font-family: 'Helvetica Neue', Arial, sans-serif; color: #222">
@@ -25,7 +24,7 @@
                 <table style="background-color: #fff; color: #222; border: solid 1px #ccc; border-collapse: separate">
                   <tr>
                     <td style="text-align: left; padding: 0px 15px 5px 15px">
-                      <%= yield %>
+                      <%= raw apply_inline_css(yield) %>
                     </td>
                   </tr>
                 </table>