mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 20:48:41 +00:00
Fix rendering of lists in \left/\right
Test plan: - Make sure tests work - Make sure screenshots didn't change, and new screenshot looks good Auditors: alpert
This commit is contained in:
@@ -689,7 +689,8 @@ var groupTypes = {
|
|||||||
}
|
}
|
||||||
inner.push(rightDelim);
|
inner.push(rightDelim);
|
||||||
|
|
||||||
return makeSpan(["minner"], inner, options.getColor());
|
return makeSpan(
|
||||||
|
["minner", options.style.cls()], inner, options.getColor());
|
||||||
},
|
},
|
||||||
|
|
||||||
rule: function(group, options, prev) {
|
rule: function(group, options, prev) {
|
||||||
|
@@ -143,6 +143,12 @@
|
|||||||
"url": "http://localhost:7936/test/huxley/test.html?m=+\\left\\{\\rule{0.1em}{1em}\\right.x^{+\\left\\{\\rule{0.1em}{1em}\\right.x^{+\\left\\{\\rule{0.1em}{1em}\\right.}}"
|
"url": "http://localhost:7936/test/huxley/test.html?m=+\\left\\{\\rule{0.1em}{1em}\\right.x^{+\\left\\{\\rule{0.1em}{1em}\\right.x^{+\\left\\{\\rule{0.1em}{1em}\\right.}}"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "LeftRightListStyling",
|
||||||
|
"screenSize": [1024, 768],
|
||||||
|
"url": "http://localhost:7936/test/huxley/test.html?m=a+\\left(x+y\\right)-x"
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "PrimeSpacing",
|
"name": "PrimeSpacing",
|
||||||
"screenSize": [1024, 768],
|
"screenSize": [1024, 768],
|
||||||
|
BIN
test/huxley/LeftRightListStyling.hux/firefox-1.png
Normal file
BIN
test/huxley/LeftRightListStyling.hux/firefox-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
5
test/huxley/LeftRightListStyling.hux/record.json
Normal file
5
test/huxley/LeftRightListStyling.hux/record.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"action": "screenshot"
|
||||||
|
}
|
||||||
|
]
|
Reference in New Issue
Block a user