@classmethod
def _convert_page_contents_v2_dict_to_v3_dict(cls, page_contents_dict):
    'Converts v2 SubtopicPage Contents schema to the v3 schema.\n        v3 schema deprecates oppia-noninteractive-svgdiagram tag and converts\n        existing occurences of it to oppia-noninteractive-image tag.\n\n        Args:\n            page_contents_dict: dict. A dict used to initialize a SubtopicPage\n                domain object.\n\n        Returns:\n            dict. The converted page_contents_dict.\n        '
    return cls.convert_html_fields_in_subtopic_page_contents(page_contents_dict, html_validation_service.convert_svg_diagram_tags_to_image_tags)
Converts v2 SubtopicPage Contents schema to the v3 schema.
v3 schema deprecates oppia-noninteractive-svgdiagram tag and converts
existing occurences of it to oppia-noninteractive-image tag.

Args:
    page_contents_dict: dict. A dict used to initialize a SubtopicPage
        domain object.

Returns:
    dict. The converted page_contents_dict.
@classmethod
def _convert_page_contents_v2_dict_to_v3_dict(cls, page_contents_dict):
    'Converts v2 SubtopicPage Contents schema to the v3 schema.\n        v3 schema deprecates oppia-noninteractive-svgdiagram tag and converts\n        existing occurences of it to oppia-noninteractive-image tag.\n\n        Args:\n            page_contents_dict: dict. A dict used to initialize a SubtopicPage\n                domain object.\n\n        Returns:\n            dict. The converted page_contents_dict.\n        '
    return cls.convert_html_fields_in_subtopic_page_contents(page_contents_dict, html_validation_service.convert_svg_diagram_tags_to_image_tags)