Skip to content

Docx writer: don't renumber rels (fixes #10769).#10770

Merged
jgm merged 1 commit intomainfrom
issue10769
Apr 8, 2025
Merged

Docx writer: don't renumber rels (fixes #10769).#10770
jgm merged 1 commit intomainfrom
issue10769

Conversation

@jgm
Copy link
Owner

@jgm jgm commented Apr 8, 2025

This fixes a regression introduced by af57648.
We are now preserving the ids from the reference doc's document.xml.refs, so we shouldn't renumber them or references introduced by the user (e.g. in a template) will fail.

Closes #10769.

This fixes a regression introduced by af57648.
We are now preserving the ids from the reference doc's
document.xml.refs, so we shouldn't renumber them or references
introduced by the user (e.g. in a template) will fail.

Closes #10769.
@jgm jgm merged commit c1cb32b into main Apr 8, 2025
22 of 25 checks passed
massifrg pushed a commit to massifrg/pandoc that referenced this pull request May 7, 2025
This fixes a regression introduced by af57648.

We used to renumber the Relationships so they didn't conflict with
the set of fixed Relationships we imposed.

We are now preserving the ids from the reference doc's
document.xml.refs, so we shouldn't renumber them or references
introduced by the user (e.g. in a template) will fail.

Closes jgm#10769.
christopherkenny pushed a commit to christopherkenny/pandoc that referenced this pull request May 23, 2025
This fixes a regression introduced by af57648.

We used to renumber the Relationships so they didn't conflict with
the set of fixed Relationships we imposed.

We are now preserving the ids from the reference doc's
document.xml.refs, so we shouldn't renumber them or references
introduced by the user (e.g. in a template) will fail.

Closes jgm#10769.
christopherkenny pushed a commit to christopherkenny/pandoc that referenced this pull request May 23, 2025
This fixes a regression introduced by af57648.

We used to renumber the Relationships so they didn't conflict with
the set of fixed Relationships we imposed.

We are now preserving the ids from the reference doc's
document.xml.refs, so we shouldn't renumber them or references
introduced by the user (e.g. in a template) will fail.

Closes jgm#10769.
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.

Regression introduced in af57648 produces invalid DOCX

1 participant