mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 12:38:39 +00:00
Fix some minor things
Summary: Fix llap/rlap again, fix lexing errors Auditors: alpert
This commit is contained in:
4
katex.js
4
katex.js
@@ -129,10 +129,10 @@ var buildGroup = function(style, color, group, prev) {
|
||||
return makeSpan("mord mspace " + spacingClassMap[group.value]);
|
||||
}
|
||||
} else if (group.type === "llap") {
|
||||
var inner = makeSpan("", buildExpression(style, color, group.value));
|
||||
var inner = makeSpan("", [buildGroup(style, color, group.value)]);
|
||||
return makeSpan("llap " + style.cls(), [inner]);
|
||||
} else if (group.type === "rlap") {
|
||||
var inner = makeSpan("", buildExpression(style, color, group.value));
|
||||
var inner = makeSpan("", [buildGroup(style, color, group.value)]);
|
||||
return makeSpan("rlap " + style.cls(), [inner]);
|
||||
} else if (group.type === "punct") {
|
||||
return makeSpan("mpunct" + color, [textit(group.value)]);
|
||||
|
Reference in New Issue
Block a user