mirror of
https://github.com/woodchen-ink/md-wechat.git
synced 2025-07-18 05:32:02 +08:00
fix: render of list (#365)
This commit is contained in:
parent
f263fa57f5
commit
5ed3c7d5df
@ -172,7 +172,7 @@ class WxRenderer extends Renderer {
|
|||||||
if (token.type === `list`) {
|
if (token.type === `list`) {
|
||||||
listItems.push(this.list(token))
|
listItems.push(this.list(token))
|
||||||
}
|
}
|
||||||
else {
|
else if (token.type !== `space`) {
|
||||||
listItems.push(this.listitem([token], prefix))
|
listItems.push(this.listitem([token], prefix))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user