1
0
Fork 0

Merge pull request #4559 from xelan/bugfix-escape-brackets

Escape angle brackets for commit message output
pull/4564/head
Rob 2015-10-29 10:50:16 +01:00
commit 1bb6bf8e79
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);
} }