I found here at ConverterExtra.php#L293 that when there is no th tag, the align array is empty and therefore the line always comes out as a single column with zero-length seperator: ||, which is wrong. it should follow the column count, and should have a separator of dashes - with length more than 0.