An article is authored in a knowledge base within Confluence.
A TOC macro is used to create a table of contents.
The article is linked to a Service Desk Customer Portal. However, when the article is viewed within the portal, the entire TOC disappears. All other formatting of the article is fine.