From 8e75575349fcc4f282192c19a523babea48fa25a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 24 Dec 2025 14:51:12 -0800 Subject: [PATCH] writer fix --- rust/pspp/src/spv/write.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rust/pspp/src/spv/write.rs b/rust/pspp/src/spv/write.rs index 74266feb9e..e6f91e5422 100644 --- a/rust/pspp/src/spv/write.rs +++ b/rust/pspp/src/spv/write.rs @@ -181,7 +181,12 @@ where { self.container(structure, item, "vtx:text", |w| { w.with_attribute(("type", text.type_.as_xml_str())) - .write_text_content(BytesText::new(&text.content.display(()).to_string()))?; + .write_inner_content(|w| { + w.create_element("html").write_text_content(BytesText::new( + &text.content.display(()).to_string(), + ))?; + Ok(()) + })?; Ok(()) }) } -- 2.30.2