Skip to content

Commit eecaa0b

Browse files
committed
Fix target to _blank for links in CE/Modules
1 parent 80c2dc6 commit eecaa0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CoreBundle/Contao/Hooks/AbstractContentElementAndModuleCallback.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ private function renderEditButton(string $caption, string $title, UrlBuilder $ur
556556
);
557557

558558
return sprintf(
559-
'<a href="%s" title="%s" style="padding-left:3px">%s</a>',
559+
'<a href="%s" title="%s" target="_blank" style="padding-left:3px">%s</a>',
560560
$url->getUrl(),
561561
$title,
562562
$icon

0 commit comments

Comments
 (0)