Change rel for external links to nofollow ugc (#1884)

This commit is contained in:
Matteo Contrini 2019-09-23 23:37:49 +02:00 committed by Daniël Klabbers
parent 58299edc20
commit 3643e2010b

View File

@ -138,7 +138,7 @@ class Formatter
foreach ($dom->getElementsByTagName('a') as $a) {
$a->setAttribute('target', '_blank');
$a->setAttribute('rel', 'nofollow');
$a->setAttribute('rel', 'nofollow ugc');
}
$dom->saveChanges();