Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Jan 8, 2020
1 parent 513095a commit 90ca8c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Pretty.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ protected function codeToHtml(string $code): string
$html = \highlight_string($code, true);

return \str_replace(['<br />'], ["\n"], $html);
return \str_replace(['<br />', '<code>', "\n</code>"], ["\n", '', ''], $html);
}

protected function formatLineNo(): string
Expand Down

0 comments on commit 90ca8c9

Please sign in to comment.