From 1d0e3e4acddf025c5527ec09ad664ab277608c23 Mon Sep 17 00:00:00 2001 From: Jin Yufeng <1750665@tongji.edu.cn> Date: Wed, 22 Nov 2023 21:14:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=20latex=20=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E5=85=AC=E5=BC=8F=E4=BC=9A=E6=8D=A2=E8=A1=8C=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20#540?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/latex/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/latex/index.js b/plugins/latex/index.js index e380edb..6dd6911 100644 --- a/plugins/latex/index.js +++ b/plugins/latex/index.js @@ -18,7 +18,7 @@ Latex.prototype.onParse = function (node, vm) { // 偶数 if ((index + 1) % 2 === 0) { return { - name: 'div', + name: 'span', attrs: {}, f: 'display:inline-block', children: parse.default(str)