fix: render of list (#365)

This commit is contained in:
YangFong 2024-08-29 16:45:15 +08:00 committed by yanglbme
parent f263fa57f5
commit 5ed3c7d5df

View File

@ -172,7 +172,7 @@ class WxRenderer extends Renderer {
if (token.type === `list`) {
listItems.push(this.list(token))
}
else {
else if (token.type !== `space`) {
listItems.push(this.listitem([token], prefix))
}
}