block: add Element::list
This commit is contained in:
parent
f98ebd477f
commit
0d560901eb
2 changed files with 86 additions and 76 deletions
|
@ -827,7 +827,7 @@ impl<'s> Parser<'s> {
|
|||
self.block_attributes = Attributes::new();
|
||||
continue;
|
||||
}
|
||||
block::Container::List { ty, tight } => {
|
||||
block::Container::List(block::ListKind { ty, tight }) => {
|
||||
if matches!(ty, block::ListType::Description) {
|
||||
Container::DescriptionList
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue