Add missing element closing tags