Steps to replicate:
1. Create a new page in Confluence
2. Add a Table of Contents Zone
3. Inside the TOC Zone, add a link
4. Ensure that the link is configured to display as "inline". Note - it shows correctly here
5. Preview or publish the page
Actual result: the inline link (which showed correctly in Edit mode), now appears as a URL instead of an inline link
Expected result: the link continues to display as an inline link.