Updated to handle paragraph and adding text that only has formatting