Skip to content

Commit 5029887

Browse files
committed
fix: generate demo page
1 parent 94881d7 commit 5029887

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/js/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40801,7 +40801,7 @@ const differenceIsTooGreat = (a, b) => {
4080140801
const lta = new LatexToAst();
4080240802
const atm = new AstToMathJs();
4080340803
const latexEqual$1 = (a, b, opts) => {
40804-
const isNumeric = (str) => /^-?\d+(\.\d+)?$/.test(str);
40804+
const isNumeric = (str) => /^\s*-?\d+(\.\d+)?\s*$/.test(str);
4080540805
if (!a || !b) {
4080640806
return false;
4080740807
}

0 commit comments

Comments
 (0)