Skip to content

Commit

Permalink
修复了 latex 插件公式会换行的问题 #540
Browse files Browse the repository at this point in the history
  • Loading branch information
jin-yufeng committed Nov 22, 2023
1 parent e89cad8 commit 1d0e3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/latex/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1d0e3e4

Please sign in to comment.