From 82c972b946b63f89c7bbe2265e377c8124223f74 Mon Sep 17 00:00:00 2001 From: YishiMichael Date: Mon, 28 Mar 2022 19:31:19 +0800 Subject: [PATCH] Remove saxutils.unescape process --- manimlib/mobject/svg/text_mobject.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/manimlib/mobject/svg/text_mobject.py b/manimlib/mobject/svg/text_mobject.py index 4fafb138..fda326f1 100644 --- a/manimlib/mobject/svg/text_mobject.py +++ b/manimlib/mobject/svg/text_mobject.py @@ -3,7 +3,6 @@ from __future__ import annotations import os import re import itertools as it -import xml.sax.saxutils as saxutils from pathlib import Path from contextlib import contextmanager import typing @@ -513,11 +512,6 @@ class MarkupText(LabelledString): self.get_end_tag_str() ]) - def handle_submob_string(self, substr: str, string_span: Span) -> str: - if self.is_markup: - substr = saxutils.unescape(substr) - return substr - # Method alias def get_parts_by_text(self, substr: str) -> VGroup: