summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Schmitz <tobiasschmitz2001@gmail.com>2025-07-08 14:14:21 +0200
committerTobias Schmitz <tobiasschmitz2001@gmail.com>2025-07-08 14:14:21 +0200
commit070a0faf5c69b6a03b4b043b94bb4984367c1428 (patch)
treeb1435be1902618c96e7c351603c8c4b9be1a7b3e
parent2445bb436117e8602b95a5c9706e5917a93c1cbd (diff)
fixup! test: table header id generation
-rw-r--r--crates/typst-pdf/src/tags/table.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-pdf/src/tags/table.rs b/crates/typst-pdf/src/tags/table.rs
index d7580814..177de962 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,