Whoops, turns out that clause was there for a good reason

This commit is contained in:
Grant Sanderson
2018-05-17 15:45:21 -07:00
parent cc209ae6ef
commit e4c9636cf4

View File

@ -86,7 +86,7 @@ class SingleStringTexMobject(SVGMobject):
should_replace = reduce(op.and_, [
t1 in tex,
t2 not in tex,
len(tex) > len(t1)
len(tex) > len(t1) and tex[len(t1)] in ["(){}[]|.\\"]
])
if should_replace:
tex = tex.replace(t1, "\\big")