Table validator: Fixed issue that caused <col /> to appear as <col> in H...

...TML results.

v3.1 variant of gh-5699.