Michel Damiens <michel.dami...@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>