src/Blocks/BlockTable.php
protected function createTableRow(BlockInterface $block, $isHeader = false)
    {
        $lineContent = trim($block->getContent(), '|');
        if (empty($lineContent)) {
            return '';
        }

        $tableRow = explode('|', $lineContent);

        if (strpos($lineContent, '---') !== false) {
            foreach ($tableRow as $rowIndex => $row) {
                $this->setColumnMetadata($rowIndex, $row);
            }

            return '';
        }

        $rowHtml = $this->getTableRowStartTag();

        foreach ($tableRow as $rowIndex => $row) {
            $rowHtml .= $this->getTableColumnStartTag($rowIndex, $isHeader);
            $rowHtml .= $this->parseInlineMarkup(trim($row));
            $rowHtml .= $this->getTableColumnEndTag($isHeader);
        }

        $rowHtml .= $this->getTableRowEndTag();

        return $rowHtml;
    }
protected function createTableRow(BlockInterface $block, $isHeader = false)
    {
        $lineContent = trim($block->getContent(), '|');
        if (empty($lineContent)) {
            return '';
        }

        $tableRow = explode('|', $lineContent);

        if (strpos($lineContent, '---') !== false) {
            foreach ($tableRow as $rowIndex => $row) {
                $this->setColumnMetadata($rowIndex, $row);
            }

            return '';
        }

        $rowHtml = $this->getTableRowStartTag();

        foreach ($tableRow as $rowIndex => $row) {
            $rowHtml .= $this->getTableColumnStartTag($rowIndex, $isHeader);
            $rowHtml .= $this->parseInlineMarkup(trim($row));
            $rowHtml .= $this->getTableColumnEndTag($isHeader);
        }

        $rowHtml .= $this->getTableRowEndTag();

        return $rowHtml;
    }
@param BlockInterface $block
@param mixed $isHeader

@return string