I have a HTML that has Table of Contents. When working as a stand alone, the TOC works fine. However, when I embed the HTML file in my application using HTMLSnippet widget, the TOC does not work fine. Whichever item I click in the TOC, will take me to the default landing page of the application. I am trying to understand how different is it and how to resolve the issue. Any pointers in that direction will be of great help. Thanks in advance.