Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025
Merged

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

merged 1 commit into from
Apr 8, 2025

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