Compare plain list type in diff.rs.
This commit is contained in:
@@ -148,7 +148,7 @@ pub(crate) fn plain_list<'b, 'g, 'r, 's>(
|
||||
remaining,
|
||||
PlainList {
|
||||
source: source.into(),
|
||||
list_type: PlainListType::Ordered,
|
||||
list_type: first_item_list_type.expect("Plain lists require at least one element."),
|
||||
children: children.into_iter().map(|(_start, item)| item).collect(),
|
||||
},
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user