Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0294563 commit e9b0faaCopy full SHA for e9b0faa
src/Symfony/Component/Console/Helper/Table.php
@@ -365,7 +365,8 @@ public function render()
365
for ($i = 0; $i < $maxRows; ++$i) {
366
$cell = (string) ($row[$i] ?? '');
367
368
- $parts = explode("\n", $cell);
+ $eol = str_contains($cell, "\r\n") ? "\r\n" : "\n";
369
+ $parts = explode($eol, $cell);
370
foreach ($parts as $idx => $part) {
371
if ($headers && !$containsColspan) {
372
if (0 === $idx) {
0 commit comments