Do not parse the tag for a plain list item if it is an ordered plain list item.

This commit is contained in:
Tom Alexander
2023-09-21 20:58:03 -04:00
parent 1a41cfc6c7
commit c892d406c3
4 changed files with 33 additions and 13 deletions

View File

@@ -732,6 +732,10 @@ fn compare_plain_list<'s>(
Ok(_) => {}
};
// TODO compare :type
//
// :type is an unquoted atom of either descriptive, ordered, or unordered
for (emacs_child, rust_child) in children.iter().skip(2).zip(rust.children.iter()) {
child_status.push(compare_plain_list_item(source, emacs_child, rust_child)?);
}