Fixes T12849. Currently, when a row contains only empty cells and cells with "----" in them, we treat it as indicating which cells above should be rendered with <th /> instead of <td />.
This produces an unintuitive result when every cell is empty.
Instead, treat a row as a "headings" row only if it has at least one "---" cell in it.