fixed issue with | in text where no table is present