ui: katex: ignore warnings

This commit is contained in:
undefined committed 2021-10-13 16:43:47 +08:00
1 parent 1d48df3e80
commit 306a15b870
2 files changed
+2 -2

No files matched your search

@@ -101,7 +101,7 @@ function block(state, start, end, silent) {
}
module.exports = function plugin(md) {
const options = { throwOnError: false, strict: false };
const options = { throwOnError: false, strict: 'ignore' };
const katexInline = function (latex) {
options.displayMode = false;
try {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.25.2",
"version": "4.25.3",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",