This commit is contained in:
Daniel 2023-06-02 22:36:27 +08:00
parent 156fc97c54
commit 6950bbaf6d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 6 additions and 7 deletions

View file

@ -78,7 +78,7 @@ func renderOutline(heading *ast.Node, luteEngine *lute.Lute) (ret string) {
case ast.NodeBackslashContent:
buf.Write(n.Tokens)
case ast.NodeTextMark:
dom := lute.RenderNodeBlockDOM(n, luteEngine.ParseOptions, luteEngine.RenderOptions)
dom := luteEngine.RenderNodeBlockDOM(n)
buf.WriteString(dom)
return ast.WalkSkipChildren
case ast.NodeImage: