mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
Do not polyfill JSON.stringify (#1563)
This commit is contained in:
@@ -64,7 +64,8 @@ function checkDelimiter(
|
||||
} else {
|
||||
throw new ParseError(
|
||||
"Invalid delimiter: '" +
|
||||
(symDelim ? symDelim.value : JSON.stringify(delim)) +
|
||||
// $FlowFixMe, do not polyfill
|
||||
(symDelim ? symDelim.value : JSON["stringify"](delim)) +
|
||||
"' after '" + context.funcName + "'", delim);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user