mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-09 21:18:40 +00:00
@@ -197,7 +197,9 @@ const mathmlBuilder = (group, options) => {
|
||||
|
||||
if (group.leftDelim != null) {
|
||||
const leftOp = new mathMLTree.MathNode(
|
||||
"mo", [new mathMLTree.TextNode(group.leftDelim)]);
|
||||
"mo",
|
||||
[new mathMLTree.TextNode(group.leftDelim.replace("\\", ""))]
|
||||
);
|
||||
|
||||
leftOp.setAttribute("fence", "true");
|
||||
|
||||
@@ -208,7 +210,9 @@ const mathmlBuilder = (group, options) => {
|
||||
|
||||
if (group.rightDelim != null) {
|
||||
const rightOp = new mathMLTree.MathNode(
|
||||
"mo", [new mathMLTree.TextNode(group.rightDelim)]);
|
||||
"mo",
|
||||
[new mathMLTree.TextNode(group.rightDelim.replace("\\", ""))]
|
||||
);
|
||||
|
||||
rightOp.setAttribute("fence", "true");
|
||||
|
||||
|
Reference in New Issue
Block a user