Skip to content

Commit bb0f3eb

Browse files
committed
Bluescreen: link to google opens in new window
1 parent 7d687fb commit bb0f3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tracy/assets/BlueScreen/bluescreen.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ $code = $exception->getCode() ? ' #' . $exception->getCode() : '';
5050

5151

5252
<h1><?= htmlspecialchars($exception->getMessage() ?: $title . $code, ENT_IGNORE, 'UTF-8') ?>
53-
<a href="https://www.google.com/search?sourceid=tracy&amp;q=<?= urlencode($title . ' ' . preg_replace('#\'.*\'|".*"#Us', '', $exception->getMessage())) ?>" rel="noreferrer">search&#x25ba;</a>
53+
<a href="https://www.google.com/search?sourceid=tracy&amp;q=<?= urlencode($title . ' ' . preg_replace('#\'.*\'|".*"#Us', '', $exception->getMessage())) ?>" target="_blank" rel="noreferrer">search&#x25ba;</a>
5454
<?php if ($skipError): ?><a href="<?= htmlSpecialChars($skipError, ENT_IGNORE | ENT_QUOTES, 'UTF-8') ?>">skip error&#x25ba;</a><?php endif ?></h1>
5555
</div>
5656

0 commit comments

Comments
 (0)