Revert "fixed issue with | in text where no table is present"

This reverts commit 8a579225847571d9e85f98540d44f7d99f974a5e.