Skip to content

Commit 7a08c9b

Browse files
committed
Wrap code in code block
1 parent 3e2a809 commit 7a08c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/reporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function addSections() {
143143
foreach ($tests as $test => $lines) {
144144
$this->add('* '.$test, 0, 1);
145145
foreach ($lines as $line) {
146-
$this->add(" * Line {$line[0]}: {$line[1]}", 0, 1);
146+
$this->add(" * Line {$line[0]}: `" . str_replace('`', '\'', $line[1]) . "`", 0, 1);
147147
}
148148
}
149149
$this->add('', 1, 0);

0 commit comments

Comments
 (0)