mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
Prevent inadvertent tall delims (#1948)
This commit is contained in:
@@ -23,6 +23,10 @@ defineFunctionBuilders({
|
||||
}
|
||||
} else if (group.family === "punct") {
|
||||
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;
|
||||
},
|
||||
|
Reference in New Issue
Block a user