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

pull/718/head
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
1 changed files with 1 additions and 1 deletions

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)
}