Skip to content

Commit 3c27e81

Browse files
committed
...
1 parent 428aa5b commit 3c27e81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

manim/mobject/text/tex_mobject.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,9 @@ def __init__(
306306
def _break_up_tex_strings(self, tex_strings: Sequence[str]) -> list[str]:
307307
# Separate out anything surrounded in double braces
308308
pre_split_length = len(tex_strings)
309-
tex_strings_brace_splitted = [re.split("{{(.*?)}}", str(t)) for t in tex_strings]
309+
tex_strings_brace_splitted = [
310+
re.split("{{(.*?)}}", str(t)) for t in tex_strings
311+
]
310312
tex_strings_combined = sum(tex_strings_brace_splitted, [])
311313
if len(tex_strings_combined) > pre_split_length:
312314
self.brace_notation_split_occurred = True

0 commit comments

Comments
 (0)