Skip to content

Commit

Permalink
fix: render of list
Browse files Browse the repository at this point in the history
  • Loading branch information
YangFong committed Aug 29, 2024
1 parent 1df41df commit 903b150
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/wx-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ class WxRenderer extends Renderer {
if (token.type === `list`) {
listItems.push(this.list(token))
}
else if (token.type === `space`) {
listItems.push(`<br/>`)
}
else {
listItems.push(this.listitem([token], prefix))
}
Expand Down

0 comments on commit 903b150

Please sign in to comment.