diff --git a/framework/core/src/Formatter/Formatter.php b/framework/core/src/Formatter/Formatter.php index 3a5878268..d726a1dda 100644 --- a/framework/core/src/Formatter/Formatter.php +++ b/framework/core/src/Formatter/Formatter.php @@ -139,7 +139,8 @@ class Formatter $dom = $configurator->tags['URL']->template->asDOM(); foreach ($dom->getElementsByTagName('a') as $a) { - $a->setAttribute('rel', 'nofollow ugc'); + $rel = $a->getAttribute('rel'); + $a->setAttribute('rel', "$rel nofollow ugc"); } $dom->saveChanges();