Fix crash when text is contained inside a table-colgroup.