Issue #18347: ElementTree's html serializer now preserves the case of closing tags.