Fix plain list item.

This commit is contained in:
Tom Alexander 2023-12-30 20:35:27 -05:00
parent 4bd5f3bec7
commit dd611ea64a
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -42,7 +42,15 @@ to_wasm!(
Ok((
children,
WasmPlainListItem {
tag: Vec::new(),
tag: original
.tag
.iter()
.map(|child| {
child
.to_wasm(wasm_context.clone())
.map(Into::<WasmAstNode>::into)
})
.collect::<Result<Vec<_>, _>>()?,
bullet: original.bullet.to_owned(),
counter: original.counter.clone(),
checkbox: original.checkbox.as_ref().map(|(checkbox_type, _)| {