This commit is contained in:
Daniel 2025-03-10 12:29:05 +08:00
parent 0fa0b16e3b
commit f81cf5f32d
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -345,6 +345,9 @@ func resolveEmbedR(n *ast.Node, blockEmbedMode int, luteEngine *lute.Lute, resol
inserts = append(inserts, subNode)
}
}
if 2 < len(n.KramdownIAL) && 0 < len(inserts) {
inserts[0].KramdownIAL = n.KramdownIAL
}
for _, insert := range inserts {
n.InsertBefore(insert)