From 070a0faf5c69b6a03b4b043b94bb4984367c1428 Mon Sep 17 00:00:00 2001 From: Tobias Schmitz Date: Tue, 8 Jul 2025 14:14:21 +0200 Subject: [PATCH] fixup! test: table header id generation --- crates/typst-pdf/src/tags/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typst-pdf/src/tags/table.rs b/crates/typst-pdf/src/tags/table.rs index d75808149..177de9624 100644 --- a/crates/typst-pdf/src/tags/table.rs +++ b/crates/typst-pdf/src/tags/table.rs @@ -84,7 +84,7 @@ impl TableCtx { x: x.saturating_as(), y: y.saturating_as(), rowspan: rowspan.try_into().unwrap_or(NonZeroU32::MAX), - colspan: rowspan.try_into().unwrap_or(NonZeroU32::MAX), + colspan: colspan.try_into().unwrap_or(NonZeroU32::MAX), kind, headers: TagIdRefs::NONE, nodes,