mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 04:08:43 +00:00
Prevent inadvertent tall delims (#1948)
This commit is contained in:
@@ -23,6 +23,10 @@ defineFunctionBuilders({
|
|||||||
}
|
}
|
||||||
} else if (group.family === "punct") {
|
} else if (group.family === "punct") {
|
||||||
node.setAttribute("separator", "true");
|
node.setAttribute("separator", "true");
|
||||||
|
} else if (group.family === "open" || group.family === "close") {
|
||||||
|
// Delims built here should not stretch vertically.
|
||||||
|
// See delimsizing.js for stretchy delims.
|
||||||
|
node.setAttribute("stretchy", "false");
|
||||||
}
|
}
|
||||||
return node;
|
return node;
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user