katex 0.18.2 → 0.18.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/contrib/copy-tex/README.md +2 -2
- package/contrib/mathtex-script-type/README.md +5 -5
- package/contrib/mhchem/README.md +1 -1
- package/dist/README.md +3 -3
- package/dist/katex-swap.css +1 -1
- package/dist/katex-swap.min.css +1 -1
- package/dist/katex.css +1 -1
- package/dist/katex.js +2 -2
- package/dist/katex.min.css +1 -1
- package/dist/katex.min.js +1 -1
- package/dist/katex.mjs +2 -2
- package/package.json +1 -1
- package/src/functions/delimsizing.ts +2 -2
package/dist/katex.mjs
CHANGED
|
@@ -8705,7 +8705,7 @@ defineFunction({
|
|
|
8705
8705
|
numArgs: 1,
|
|
8706
8706
|
argTypes: ["primitive"],
|
|
8707
8707
|
handler: (context, args) => {
|
|
8708
|
-
var delim = checkDelimiter(args[0], context);
|
|
8708
|
+
var delim = checkDelimiter(normalizeArgument(args[0]), context);
|
|
8709
8709
|
return {
|
|
8710
8710
|
type: "delimsizing",
|
|
8711
8711
|
mode: context.parser.mode,
|
|
@@ -16265,7 +16265,7 @@ var renderToHTMLTree = function renderToHTMLTree(expression, options) {
|
|
|
16265
16265
|
return renderError(error, expression, settings);
|
|
16266
16266
|
}
|
|
16267
16267
|
};
|
|
16268
|
-
var version = "0.18.
|
|
16268
|
+
var version = "0.18.3";
|
|
16269
16269
|
var __domTree = {
|
|
16270
16270
|
Span,
|
|
16271
16271
|
Anchor,
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {makeSpan} from "../buildCommon";
|
|
2
|
-
import defineFunction from "../defineFunction";
|
|
2
|
+
import defineFunction, {normalizeArgument} from "../defineFunction";
|
|
3
3
|
import {makeLeftRightDelim, makeSizedDelim, sizeToMaxHeight} from "../delimiter";
|
|
4
4
|
import {MathNode} from "../mathMLTree";
|
|
5
5
|
import ParseError from "../ParseError";
|
|
@@ -97,7 +97,7 @@ defineFunction({
|
|
|
97
97
|
argTypes: ["primitive"],
|
|
98
98
|
|
|
99
99
|
handler: (context, args) => {
|
|
100
|
-
const delim = checkDelimiter(args[0], context);
|
|
100
|
+
const delim = checkDelimiter(normalizeArgument(args[0]), context);
|
|
101
101
|
|
|
102
102
|
return {
|
|
103
103
|
type: "delimsizing",
|