]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/_message_body.html.erb
Fix styling of email notifications in RTL languages
[rails.git] / app / views / notifier / _message_body.html.erb
index 29bd3e06372f2177af38f13e53da47f8b5c33f95..d572fb9d0a79e92e7486b56218d63792295b0116 100644 (file)
               :border => 0
             ),
             user_url(@author),
-            :target => "_blank"
+            :target => "_blank", :rel => "noopener"
           ) %>
     </td>
-    <td style="text-align: left; vertical-align: top; padding-right: 10px; width: 100%">
+    <td style="text-align: <%= style_left %>; vertical-align: top; padding-<%= style_right %>: 10px; width: 100%">
       <%= body %>
     </td>
   </tr>