diff --git a/src/wasm/plain_list_item.rs b/src/wasm/plain_list_item.rs index d5f1b293..639cfa65 100644 --- a/src/wasm/plain_list_item.rs +++ b/src/wasm/plain_list_item.rs @@ -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::::into) + }) + .collect::, _>>()?, bullet: original.bullet.to_owned(), counter: original.counter.clone(), checkbox: original.checkbox.as_ref().map(|(checkbox_type, _)| {