forked from MapComplete/MapComplete
Add 'rel=nofollow noopener noreferrer' to external links
This commit is contained in:
parent
8fc63d8908
commit
18399bafb0
1 changed files with 3 additions and 3 deletions
|
@ -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>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue