[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Identical attributes id="text-table-of-contents" of div with role="d
From: |
Ihor Radchenko |
Subject: |
Re: Identical attributes id="text-table-of-contents" of div with role="doc-toc" when exporting to html when using tables of contents for multiple subheadings |
Date: |
Sun, 30 Oct 2022 02:43:46 +0000 |
Michel Damiens <michel.damiens@gmail.com> writes:
> when exporting to html this org document :
>
> #+OPTIONS: toc:1
> * par 1
> #+TOC: headlines 1 local
> ** par 1.1
> ** par 1.2
> * par 2
> #+TOC: headlines 1 local
> ** par 2.1
> ** par 2.2
>
> div's for toc (with role="org-toc") in subheadings par 1 and par 2 get the
> same id : text-table-of-contents :
Confirmed.
Timothy, could you take a look?
We could probably modify the id in `org-html-toc' when SCOPE is non-nil.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>