mirror of
https://github.com/3b1b/manim.git
synced 2025-11-15 22:37:46 +00:00
Remove saxutils.unescape process
This commit is contained in:
parent
89e139009b
commit
82c972b946
1 changed files with 0 additions and 6 deletions
|
|
@ -3,7 +3,6 @@ from __future__ import annotations
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import itertools as it
|
import itertools as it
|
||||||
import xml.sax.saxutils as saxutils
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
import typing
|
import typing
|
||||||
|
|
@ -513,11 +512,6 @@ class MarkupText(LabelledString):
|
||||||
self.get_end_tag_str()
|
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
|
# Method alias
|
||||||
|
|
||||||
def get_parts_by_text(self, substr: str) -> VGroup:
|
def get_parts_by_text(self, substr: str) -> VGroup:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue