]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/_message_body.html.erb
erblint: add rel=noopener to links that open in a new tab
[rails.git] / app / views / notifier / _message_body.html.erb
index 29bd3e06372f2177af38f13e53da47f8b5c33f95..f8a4e262127b06f86ba801bffa2ba801933ffd10 100644 (file)
@@ -11,7 +11,7 @@
               :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%">