Remove trailing / from empty tags.