mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-10 05:28:41 +00:00
Fix our getTypeOfGroup function
Add in the missing `'sizing'` entry, put the `'text'` entry in the correct place, and replace `groupToType.ord` (a null value) with `groupToType.mathord` (something real). Test Plan: - See that `^3+` now puts the correct space before the `+` - See the new huxley test works, and nothing else has changed Auditors: alpert
This commit is contained in:
@@ -20,7 +20,7 @@ url=http://localhost:7936/test/huxley/test.html?m=\alpha\beta\gamma\omega
|
||||
url=http://localhost:7936/test/huxley/test.html?m=a+b-c\cdot d/e
|
||||
|
||||
[Spacing]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=[-1][1-1]1%%3D1(%%3D1)\lvert a\rvert~b
|
||||
url=http://localhost:7936/test/huxley/test.html?m=^3+[-1][1-1]1%%3D1(%%3D1)\lvert a\rvert~b
|
||||
|
||||
[Functions]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\sin\cos\tan\ln\log
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
Reference in New Issue
Block a user