mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 行内公式导出被字母 a 和 b 包裹 Fix https://github.com/siyuan-note/siyuan/issues/5820
This commit is contained in:
@@ -975,7 +975,6 @@ func renderExportMdMathBlockContent(r *render.FormatRenderer, node *ast.Node, en
|
||||
func renderExportMdInlineMathContent(r *render.FormatRenderer, node *ast.Node, entering bool) ast.WalkStatus {
|
||||
if entering {
|
||||
tokens := html.UnescapeHTML(node.Tokens)
|
||||
tokens = gulu.Str.ToBytes("a" + gulu.Str.FromBytes(tokens) + "b")
|
||||
r.Write(tokens)
|
||||
}
|
||||
return ast.WalkContinue
|
||||
|
||||
Reference in New Issue
Block a user