Skip to content

Commit

Permalink
Set rel=noopener on external links
Browse files Browse the repository at this point in the history
  • Loading branch information
horazont committed Oct 3, 2019
1 parent b1f3377 commit d799369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions muchopper/web/templates/library.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
{%- endmacro %}

{% macro logs_url(url, caller=None) -%}
<li><a href="{{ url }}" rel="nofollow">{% call icon("history") %}{% endcall %} View history<span class="a11y-text"> of {{ caller() }} in your browser</span></a></li>
<li><a href="{{ url }}" rel="nofollow noopener">{% call icon("history") %}{% endcall %} View history<span class="a11y-text"> of {{ caller() }} in your browser</span></a></li>
{%- endmacro %}

{% macro join_url(url, caller=None) -%}
<li><a href="{{ url }}" rel="nofollow">{% call icon("join") %}{% endcall %} Join <span class="a11y-text">{{ caller() }} </span>using browser</a></li>
<li><a href="{{ url }}" rel="nofollow noopener">{% call icon("join") %}{% endcall %} Join <span class="a11y-text">{{ caller() }} </span>using browser</a></li>
{%- endmacro%}

{% macro clipboard_button(caller=None) -%}
Expand Down

0 comments on commit d799369

Please sign in to comment.