If headers in file uses internal links (hence [[ ]]), the table of contents in the Obsidian Publish shows [[link]].
Steps to reproduce
Have the following in a file
## [[Poisson]] [[Distribution]]
And the publish the note.
No double square bracket should be in the table of content.
The following is seen in the table of content