Change rendered markup based on the type of clear