fix case with empty text
better upgrades to a list and heading