fixed issues with tabulars that are inserted into paragraphs