Correct closing a tag on tipp change