I have an external, non-Confluence-hosted HTML5 website that includes headings that are anchor tagged, similar to the following:
<h1 id="my-heading">My Heading</h1>
I'd like to link directly to those headings, i.e. via a URL such as:
https://mysite.com/mypage.html#my-heading
however when I insert a web link with an anchor component into a Confluence page and save, the link is "dead" (not hyperlinked with an <a> tag) in the content. Furthermore, when I go back into the editor and look at the linked content, the link is gone (moving the insertion point to the link title doesn't bring up the "Go to link" / "Edit" / "Unlink" popup, as it normally does with link content).
Is this a bug, or are external web links that contain an anchor component supposed to be inserted some other way (i.e. not using the "Insert Link" tool)?