Skip to content

creating multiple TOCs can cause id conflicts #1533

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

Open
zergar opened this issue Jun 3, 2020 · 0 comments
Open

creating multiple TOCs can cause id conflicts #1533

zergar opened this issue Jun 3, 2020 · 0 comments

Comments

@zergar
Copy link
Contributor

zergar commented Jun 3, 2020

When I was playing with multiple TOCs for #1532 I've noticed, that creating multiple TOCs in conjunction with headings e.g. named "toc2" can create ID conflicts within the document, leading to some parts not being rendered correctly. I assume, that this can only be fixed by adding some sort of HTML ID management system, but nonetheless.

# h1

## toc2

[toc]

## h2

### h3

### toc3

[toc]

#### h4

#### toc4

[toc]

##### h5

###### h6

codimd-toc-issue

edgarogh pushed a commit to WartaPoirier-corp/codimd that referenced this issue Sep 21, 2021
feat(config): Improve configurability of database by env
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

No branches or pull requests

1 participant