Skip to content

fix(render): footnote back-anchor on citing table cells#43

Merged
DemchaAV merged 1 commit into
developfrom
fix/footnote-table-backanchor
Jul 1, 2026
Merged

fix(render): footnote back-anchor on citing table cells#43
DemchaAV merged 1 commit into
developfrom
fix/footnote-table-backanchor

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Supersedes #40 (auto-closed when its stacked base branch was deleted at #39's merge; rebased onto develop, CHANGELOG conflict resolved — Unreleased is now Build/Fixed/Changed/Added). Same change and rationale as #40: cell paragraphs bypass ParagraphRenderer, so a footnote first cited in a table cell had a dead back-link; the fnref-N anchor is now placed on the citing cell (regression test asserts 2 GoTo). Gate: 167 tests green locally.

Cell paragraphs bypass ParagraphRenderer, so a footnote first cited in a table cell had a forward link but a dead back-link (the note's marker targeted a fnref-N anchor never emitted). buildRow now asks RenderState for the back-anchor and sets it on the cell paragraph; anchor(null) is a no-op. Headings remain forward-only by design (their single anchor slot carries the slug) — RenderState Javadoc updated. Regression test: a footnote cited only from a table cell yields 2 GoTo actions. Suite green (167).
@DemchaAV DemchaAV merged commit e1af793 into develop Jul 1, 2026
4 checks passed
@DemchaAV DemchaAV deleted the fix/footnote-table-backanchor branch July 2, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant