Skip to content

681 avoid duplicate id in toc#682

Closed
fsteimke wants to merge 2 commits intodocbook:mainfrom
fsteimke:681-duplicate-id-in-toc
Closed

681 avoid duplicate id in toc#682
fsteimke wants to merge 2 commits intodocbook:mainfrom
fsteimke:681-duplicate-id-in-toc

Conversation

@fsteimke
Copy link
Contributor

@fsteimke fsteimke commented Jan 2, 2026

Don't copy @id into ToC in order to avoid duplicate IDs in the HTML Document.

Added a new test file for this issue: titles.002.

Three existing tests are affected. They all had duplicate IDs in the expected result, which is not the case after this change is applied: chunk.001, footnote.001 and titles.001.

Added a new test file for this issue: titles.002.xml

Three tests are affected. They all had duplicate IDs in the expecded
result, which is not the case after this change is applied.
@ndw
Copy link
Contributor

ndw commented Jan 2, 2026

I'll port this over to codeberg. Sorry you got caught in the middle.

@ndw
Copy link
Contributor

ndw commented Jan 2, 2026

Fixed by #6.

@ndw ndw closed this Jan 2, 2026
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.

2 participants