dokufreaks / plugin-discussion

Add a comments section to DokuWiki pages
https://www.dokuwiki.org/plugin:discussion
GNU General Public License v2.0
35 stars 26 forks source link

Discussion is not the last entry in TOC #324

Closed drbeco closed 1 year ago

drbeco commented 2 years ago

Dear devs,

Although the pages in my blog clearly ends with DISCUSSION, they insist in staynig in the before-last position of the TOC.

image

Code at the end of a page, for example:

===== Obrigado! =====

Agora é com você! Divirta-se programando!

{{tag>linux git contributing}}

~~DISCUSSION~~

If I delete the last header, it doesn't matter, Discussion will move up to be before the the now supposed-new last header.

Thanks for looking into it. If I can help with more information, fell free to ask.

drbeco commented 2 years ago

Actually, I would prefer to disable Discussion from entering TOC at all.

drbeco commented 2 years ago

Update: It seems like the exclamation point inside the header is the cause of the problem.

Using...

===== Obrigado =====

... fix the problem and Discussion becomes the last entry

Klap-in commented 1 year ago

In the 'dokuwiki' template I cannot reproduce it. With the bootstrap3 template it happens for me too.

Please report to the bootstrap3 template. I guess the issue 'TOC Affix' you react on seems different then this issue. So the best is to open a separate issue for this in that tracker.