projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b816f19
)
writer fix
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 24 Dec 2025 22:51:12 +0000
(14:51 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 24 Dec 2025 22:51:12 +0000
(14:51 -0800)
rust/pspp/src/spv/write.rs
patch
|
blob
|
history
diff --git
a/rust/pspp/src/spv/write.rs
b/rust/pspp/src/spv/write.rs
index 74266feb9e849358925c9bb641c6c3855e5e3d7f..e6f91e54223482c1875e1fb0a9e4c076151e1041 100644
(file)
--- 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(())
})
}