mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Fix #4.
Post-process the list of atoms after they are created, changing binary operators to ordinary atoms according to the TeXbook's rules. This makes the `prev` argument redundant, so drop it. This commit assumes that the math class (mop/mbin/mrel/etc.) comes first in the `classes` list, if present. Add a TODO to change the signature of `makeSpan/makeSymbol` to enforce this invariant.
This commit is contained in:
BIN
test/screenshotter/images/BinCancellation-firefox.png
Normal file
BIN
test/screenshotter/images/BinCancellation-firefox.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
Reference in New Issue
Block a user