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