Skip to content

Commit

Permalink
🎨 Vditor 支持 Vanessa219/vditor#96
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jan 31, 2020
1 parent 0b8eee7 commit 7492841
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion html_renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ func (r *HTMLRenderer) renderHeadingC8hMarker(node *Node, entering bool) (WalkSt

func (r *HTMLRenderer) renderList(node *Node, entering bool) (WalkStatus, error) {
tag := "ul"
if 1 == node.listData.typ {
if 1 == node.listData.typ || (3 == node.listData.typ && 0 == len(node.listData.bulletChar)) {
tag = "ol"
}
if entering {
Expand Down
Loading

0 comments on commit 7492841

Please sign in to comment.