From 1bdf7764a92cb84569fbf25403c32504a9befbdc Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Thu, 26 Sep 2019 23:01:24 +0200 Subject: [PATCH] Stop opening external links in new tabs We accept that this may be desired by forum owners and will offer an extension to enable this feature. By default, we will not make any assumptions and simply adopt the web's and browsers' default behavior. Fixes #859. --- src/Formatter/Formatter.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Formatter/Formatter.php b/src/Formatter/Formatter.php index b2a67c416..3a5878268 100644 --- a/src/Formatter/Formatter.php +++ b/src/Formatter/Formatter.php @@ -139,7 +139,6 @@ class Formatter $dom = $configurator->tags['URL']->template->asDOM(); foreach ($dom->getElementsByTagName('a') as $a) { - $a->setAttribute('target', '_blank'); $a->setAttribute('rel', 'nofollow ugc'); }