X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..9f931ca1e3d6e1e1a1a2a354a78e84173a60df44:/app/views/notifier/_message_body.html.erb diff --git a/app/views/notifier/_message_body.html.erb b/app/views/notifier/_message_body.html.erb index b71c5f994..f8a4e2621 100644 --- a/app/views/notifier/_message_body.html.erb +++ b/app/views/notifier/_message_body.html.erb @@ -2,17 +2,17 @@ <%= link_to( - image_tag( - attachments["avatar.png"].url, - alt: @author, - title: @author, - width: 50, - height: 50, - border: 0 - ), - user_url(@author, :host => SERVER_URL), - :target => "_blank" - ) %> + image_tag( + attachments["avatar.png"].url, + :alt => @author, + :title => @author, + :width => 50, + :height => 50, + :border => 0 + ), + user_url(@author), + :target => "_blank", :rel => "noopener" + ) %> <%= body %>