Fixed line break styling in tooltips.
This commit is contained in:
1 parent
ed2a53a33d
commit
355532fa72
6 files changed
+11
-4
No files matched your search
@@ -78,6 +78,6 @@ class Http_Record_Collector extends Stopwatch_Record_Collector {
|
||||
|
||||
$backtrace = $this->formatter->format( $this->callers[ $name ] );
|
||||
|
||||
return new Stopwatch_Record( $name, $event, implode( ' → ', $backtrace ) );
|
||||
return new Stopwatch_Record( $name, $event, implode( '<br />', $backtrace ) );
|
||||
}
|
||||
}
|
||||
@@ -100,7 +100,7 @@ class Sql_Record_Collector implements Record_Collector_Interface {
|
||||
|
||||
$desc_duration = round( $duration * 1000 );
|
||||
$backtrace = $this->formatter->format( $caller );
|
||||
$description = $sql . ' – ' . $desc_duration . 'ms<hr />' . implode( ' → ', $backtrace );
|
||||
$description = $sql . ' – ' . $desc_duration . 'ms<hr />' . implode( '<br />', $backtrace );
|
||||
|
||||
return new Record( $sql, $query_start, $duration, $description, $category );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user