Skip to content

Commit

Permalink
last line skip
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatthes committed Aug 23, 2018
1 parent 7ab3046 commit 709364a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helper/Highlighter.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function end_recording() : string
$ret = [];
for ($i=$this->startNo; $i<$endLine; $i++)
$ret[] = $data[$i];
return $this->code = "\n" . implode("", $ret);
return $this->code = rtrim(implode("", $ret));
}


Expand Down

0 comments on commit 709364a

Please sign in to comment.