This commit is contained in:
Liang Ding 2022-09-14 19:53:22 +08:00
parent 578b964463
commit 4aac04d347
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 5 additions and 5 deletions

View file

@ -90,7 +90,7 @@ func NodeStaticContent(node *ast.Node) string {
ast.NodeCodeSpanContent, ast.NodeInlineMathContent, ast.NodeCodeBlockCode, ast.NodeMathBlockContent, ast.NodeHTMLBlock:
buf.Write(n.Tokens)
case ast.NodeTextMark:
buf.WriteString(n.TextMarkTextContent)
buf.WriteString(n.Content())
case ast.NodeBackslash:
buf.WriteByte(lex.ItemBackslash)
case ast.NodeBackslashContent: