fix: unordered list number

close #1784
pull/1827/head
Tienson Qin 2021-05-11 22:38:44 +08:00
parent ced50c4482
commit 0352d4e2c1
2 changed files with 5 additions and 2 deletions

View File

@ -396,7 +396,7 @@ li p:first-child,
}
li p:last-child,
.block-body p:last-child {
.block-body p:last-child, .block-body ul:last-child, .block-body ol:last-child, .block-body dl:last-child {
margin-bottom: 0;
}

View File

@ -1778,7 +1778,10 @@
(if (nil? checkbox)
(->elem
:li
{:checked checked?}
(cond->
{:checked checked?}
number
(assoc :value number))
(vec-cat
[(->elem
:p