Skip to content

Commit

Permalink
Merged PR sourcefabric#134 by zagaria
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Jan 13, 2017
1 parent 7b3d2ec commit abc8ea5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ protected function highlightSourceFile($filename)

$html = $geshi->parse_code();

$lines = split("<li>|</li>", $html);
$lines = preg_split("/<li>|<\/li>/", $html);

// skip first and last line
array_pop($lines);
Expand Down
2 changes: 1 addition & 1 deletion airtime_mvc/library/phing/tasks/ext/phk/PhkPackageTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public function main()
* Print with Phing log...
*/
$output = trim(ob_get_clean());
$output = split("\n", $output);
$output = explode("\n", $output);
foreach ($output as $line) {
/*
* Delete all '--- *' lines. Bluh!
Expand Down

0 comments on commit abc8ea5

Please sign in to comment.