Added method for removing text formatting