1
0
Fork 0

Escape angle brackets for commit message output

pull/4559/head
xelan 2015-10-29 09:01:28 +01:00
parent c557715669
commit 32517d90d2
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ abstract class VcsDownloader implements DownloaderInterface, ChangeReportInterfa
return ' ' . $line; return ' ' . $line;
}, explode("\n", $logs))); }, explode("\n", $logs)));
// escape angle brackets for proper output in the console
$logs = str_replace('<', '\<', $logs);
$this->io->writeError(' '.$message); $this->io->writeError(' '.$message);
$this->io->writeError($logs); $this->io->writeError($logs);
} }