Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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