Add 'rel=nofollow noopener noreferrer' to external links

This commit is contained in:
Pieter Vander Vennet 2022-12-31 15:11:12 +01:00
parent 8fc63d8908
commit 18399bafb0

View file

@ -284,7 +284,7 @@
"da": "Hvad er webstedet for {title()}?", "da": "Hvad er webstedet for {title()}?",
"cs": "Jaká je webová stránka {title()}?" "cs": "Jaká je webová stránka {title()}?"
}, },
"render": "<a href='{website}' target='_blank'>{website}</a>", "render": "<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>",
"freeform": { "freeform": {
"key": "website", "key": "website",
"type": "url", "type": "url",
@ -295,7 +295,7 @@
"mappings": [ "mappings": [
{ {
"if": "contact:website~*", "if": "contact:website~*",
"then": "<a href='{contact:website}' target='_blank'>{contact:website}</a>", "then": "<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>",
"hideInAnswer": true "hideInAnswer": true
} }
] ]
@ -1676,4 +1676,4 @@
"es": "El nombre de red es <b>{internet_access:ssid}</b>" "es": "El nombre de red es <b>{internet_access:ssid}</b>"
} }
} }
} }