diff options
| -rw-r--r-- | crates/typst-pdf/src/tags/table.rs | 2 |
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 57effd02..eb13a139 100644 --- a/crates/typst-pdf/src/tags/table.rs +++ b/crates/typst-pdf/src/tags/table.rs @@ -245,7 +245,7 @@ impl TableCtx { if let TableCellKind::Header(level, scope) = cell.unwrap_kind() { if refers_to_dir(&scope) { - let tag_id = table_cell_id(table_id, x as u32, y as u32); + let tag_id = table_cell_id(table_id, cell.x, cell.y); *current_header = Some((level, tag_id)); } } |
