SWC-775 [Markdown] Fixed edge cases for new table header syntax