Stop adding NBSPs around TeX math. Patches welcome to make this smarter.

This commit is contained in:
Jan Černohorský 2024-02-27 10:14:19 +01:00
parent 9ccd2886b9
commit 583b3ba010

View file

@ -36,9 +36,9 @@ def bavlna(e: Whitespace, c: Context) -> bool:
if prevC in operators and nextC in numbers:
return True
if isinstance(e.prev, Math) or isinstance(e.next, Math):
# Add no-break spaces around TeX math.
return True
# if isinstance(e.prev, Math) or isinstance(e.next, Math):
# # Add no-break spaces around TeX math.
# return True