Use p.inline instead of p.block for intermediate render of inline item

This commit is contained in:
Cheng Fang 2024-01-28 22:38:50 -05:00
parent e96880f42b
commit 9171c26084
No known key found for this signature in database
GPG Key ID: 3FAB843A26991D98

View File

@ -1295,7 +1295,7 @@ gatherlines:
// intermediate render of inline item
if sublist > 0 {
p.inline(&cooked, rawBytes[:sublist])
p.block(&cooked, rawBytes[sublist:])
p.inline(&cooked, rawBytes[sublist:])
} else {
p.inline(&cooked, rawBytes)
}