You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'/\\\\<bg=yellow>('.$this->filter['search'].')<\/>/i', // the sequence \<bg=yellow> causes errors, even when everything is escaped like \\<...> (maybe a Symfony bug?)
43
+
'/(' . $this->filter['search'] . ')/i',
44
+
'/\\\\<bg=yellow>(' . $this->filter['search'] . ')<\/>/i', // the sequence \<bg=yellow> causes errors, even when everything is escaped like \\<...> (maybe a Symfony bug?)
41
45
],
42
46
[
43
47
'<bg=yellow>$1</>',
44
48
'<bg=yellow>\\\\$1</>', // solution to the issue above: include the backslash in the highlighting
45
49
],
46
-
$record['message']);
50
+
$record['message']
51
+
);
47
52
$driver = $record->getDriver();
48
53
$record = newLogRecord(
49
54
$record['datetime'],
@@ -57,16 +62,18 @@ protected function addHighlightingToRecord(LogRecord $record): LogRecord {
0 commit comments