Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Improve escaping while we're at it
Browse files Browse the repository at this point in the history
Cf. #4585.
  • Loading branch information
chadwhitacre committed Sep 1, 2017
1 parent a6b4315 commit 2868951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/on/npm/%package.spt
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ if user.participant:
{% endif %}
<p class="fine-print">
{{ _( 'Addresses are from {a}{code}maintainers{_code}{_a}.'
, a=('<a href="' + package.remote_api_url + '">')|safe
, a='<a href="%s">'|safe % package.remote_api_url
, _a='</a>'|safe
, code='<code>'|safe
, _code='</code>'|safe
) }}
</p>
<p class="fine-print">
{{ _( 'Out of date? Update {a}at npm{_a} and refresh.'
, a=('<a href="' + package.remote_human_url + '">')|safe
, a='<a href="%s">'|safe % package.remote_human_url
, _a='</a>'|safe
) }}
</p>
Expand Down

0 comments on commit 2868951

Please sign in to comment.