X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a520f1251cf06be665d93037c74116a9f769fbf1..31edc7dff6f4305366d0f93d35ba3fb1956bb71f:/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 %>