Fix plain list item.

main
Tom Alexander 4 months ago
parent 4bd5f3bec7
commit dd611ea64a
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -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, _)| {

Loading…
Cancel
Save