Skip to content

Commit ed8e6e2

Browse files
committed
Support descriptions - with spaces
1 parent 04c4927 commit ed8e6e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Headers/ServerTiming.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public function add($key, $duration, $description = "")
99
{
1010
$this->_timings[$key] = "$key"
1111
. ($duration !== null ? ";dur=$duration" : '')
12-
. ($description !== null ? ";desc=$description" : '');
12+
. ($description !== null ? ";desc=\"$description\"" : '');
1313
return $this;
1414
}
1515

0 commit comments

Comments
 (0)