src/TableParser/HTML/HTMLStringTableParser.php
protected function parseCellText(\SimpleXmlElement $cell)
    {
        $text = \trim(\preg_replace('/\s+/', ' ', \dom_import_simplexml($cell)->textContent));

        if ($prefix = (string) $cell['data-behat-table-prefix']) {
            $text = $prefix.' '.$text;
        }

        return $text;
    }
protected function parseCellText(\SimpleXmlElement $cell)
    {
        $text = \trim(\preg_replace('/\s+/', ' ', \dom_import_simplexml($cell)->textContent));

        if ($prefix = (string) $cell['data-behat-table-prefix']) {
            $text = $prefix.' '.$text;
        }

        return $text;
    }
@param \SimpleXmlElement $cell

@return string