Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 1663
Zeile 802... Zeile 802...
802
                    foreach ($row as $i => $cell) {
802
                    foreach ($row as $i => $cell) {
803
                        if ($cell instanceof TableCell) {
803
                        if ($cell instanceof TableCell) {
804
                            $textContent = Helper::removeDecoration($this->output->getFormatter(), $cell);
804
                            $textContent = Helper::removeDecoration($this->output->getFormatter(), $cell);
805
                            $textLength = Helper::width($textContent);
805
                            $textLength = Helper::width($textContent);
806
                            if ($textLength > 0) {
806
                            if ($textLength > 0) {
807
                                $contentColumns = str_split($textContent, ceil($textLength / $cell->getColspan()));
807
                                $contentColumns = mb_str_split($textContent, ceil($textLength / $cell->getColspan()));
808
                                foreach ($contentColumns as $position => $content) {
808
                                foreach ($contentColumns as $position => $content) {
809
                                    $row[$i + $position] = $content;
809
                                    $row[$i + $position] = $content;
810
                                }
810
                                }
811
                            }
811
                            }
812
                        }
812
                        }