From 47cf76f32c7ef148cd3ee23beaa82a886477b7ec Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 14 Oct 2026 13:29:27 -0400 Subject: [PATCH] Fix up merged PRs: handout master csld takes tags; corpus test hyperlink gains sound fields Co-Authored-By: Claude Opus 5.5 --- crates/pptx/src/write/mod.rs | 2 +- crates/pptx/tests/corpus_kinds.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/pptx/src/write/mod.rs b/crates/pptx/src/write/mod.rs index 228c9379..0ce5af26 100644 --- a/crates/pptx/src/write/mod.rs +++ b/crates/pptx/src/write/mod.rs @@ -586,7 +586,7 @@ pub fn export(p: &Presentation, main_ct: &str) -> Result, PptxError> { x.pkg.rels(&tname, &to.rels); let mut w = W::new(); root_open(&mut w, "p:handoutMaster", A::new()); - csld(&mut w, &mut x, &mut ho, &hm.name, hm.background.as_ref(), &hm.shapes); + csld(&mut w, &mut x, &mut ho, &hm.name, hm.background.as_ref(), &hm.shapes, &[]); clr_map(&mut w, &hm.color_map); w.close("p:handoutMaster"); x.pkg.xml_part(handout_path, CT_HANDOUT_MASTER, w.finish()); diff --git a/crates/pptx/tests/corpus_kinds.rs b/crates/pptx/tests/corpus_kinds.rs index 52dae76e..1f2d2f46 100644 --- a/crates/pptx/tests/corpus_kinds.rs +++ b/crates/pptx/tests/corpus_kinds.rs @@ -154,6 +154,8 @@ fn sections() -> Presentation { action: Action::Url { url: "https://example.org/brief?q=1&x=2".into() }, tooltip: "Open the brief".into(), highlight_click: false, + sound: None, + stop_sound: false, }), ..Default::default() },