diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-07-23 00:34:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 00:34:22 +0300 |
commit | 3e1234a887f56a1cf853e29ba89370b234af5127 (patch) | |
tree | 5b2c15a0eb32a439fee41d6976831d995a4dd800 | |
parent | 9c172cac492ef02806716502e9441545728d8396 (diff) |
Adds missing rel attribute for external link (#16234)
-rw-r--r-- | plugins/Live/templates/getLastVisitsStart.twig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Live/templates/getLastVisitsStart.twig b/plugins/Live/templates/getLastVisitsStart.twig index c0a380a501..a1b9c1f590 100644 --- a/plugins/Live/templates/getLastVisitsStart.twig +++ b/plugins/Live/templates/getLastVisitsStart.twig @@ -73,7 +73,7 @@ {% else %} {% if action.url is defined and action.url is not empty %} - <a href="{{ action.url|safelink|e('html_attr') }}" target="_blank"> + <a href="{{ action.url|safelink|e('html_attr') }}" target="_blank" rel="noreferrer noopener"> {% endif %} {% if action.type == 'action' %} {# white spacing matters as Chrome tooltip display whitespaces #} @@ -131,4 +131,4 @@ $(function () { }); }); </script> -{% endif %}
\ No newline at end of file +{% endif %} |