This commit is contained in:
Liang Ding 2022-12-08 14:49:24 +08:00
parent e4c3a2d9d0
commit 07ae572d8d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 7 additions and 26 deletions

View file

@ -1232,11 +1232,11 @@ func nSort(n *ast.Node) int {
return 20
case ast.NodeSuperBlock:
return 30
// 以下为行级元素
case ast.NodeText, ast.NodeTextMark:
if n.IsTextMarkType("tag") {
return 205
}
return 200
case ast.NodeTag:
return 205
}
return 100
}