mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Use rel="noopener" with target="_blank". (#682)
Required reading: https://mathiasbynens.github.io/rel-noopener/
This commit is contained in:
committed by
Raphael Michel
parent
01585877d7
commit
e7f38abd77
@@ -55,7 +55,7 @@ class Paypal(BasePaymentProvider):
|
||||
('client_id',
|
||||
forms.CharField(
|
||||
label=_('Client ID'),
|
||||
help_text=_('<a target="_blank" href="{docs_url}">{text}</a>').format(
|
||||
help_text=_('<a target="_blank" rel="noopener" href="{docs_url}">{text}</a>').format(
|
||||
text=_('Click here for a tutorial on how to obtain the required keys'),
|
||||
docs_url='https://docs.pretix.eu/en/latest/user/payments/paypal.html'
|
||||
)
|
||||
|
||||
@@ -76,7 +76,7 @@ class StripeSettingsHolder(BasePaymentProvider):
|
||||
('secret_key',
|
||||
forms.CharField(
|
||||
label=_('Secret key'),
|
||||
help_text=_('<a target="_blank" href="{docs_url}">{text}</a>').format(
|
||||
help_text=_('<a target="_blank" rel="noopener" href="{docs_url}">{text}</a>').format(
|
||||
text=_('Click here for a tutorial on how to obtain the required keys'),
|
||||
docs_url='https://docs.pretix.eu/en/latest/user/payments/stripe.html'
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user