You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 13e443d
Browse filesBrowse the repository at this point in the historyBrowse files
tests: check docx crossref ids map to their bookmarks and links
Since Pandoc 3.12 (jgm/pandoc#11845) every docx bookmark name starts
with `_`, which hides it from screen readers, and an id Word would
reject as a bookmark name is replaced by a SHA-1 hash of the id. Quarto
crossref ids all contain `-`, so `fig-elephant` no longer appears in
word/document.xml. Compute each expected name the way Pandoc does and
assert that the bookmark exists and the cross-reference link points at
it, so the test still checks each id rather than only that some target
exists.
0 commit comments