Table of Contents, when automatically generated using the Table of Contents feature, should work just fine in Publish Online. Can you check that "Make text anchor in source paragraph" is checked on in your TOC setup?
That is checked in the ToC contents. I've attached an image of the published ToC, you can see the cursor does not turn into a hand cursor. There are no links. These text links work fine in an exported PDF.