Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.0.4
-
None
Description
If you create a heading with a link in the middle of it, a strange thing happens.
- Create a page in a space (e.g., DOC)
- Call the page "Mypage"
- Add the content as denoted this wiki markup:
h2. A link back [Home] and all that jazz
- Include a TOC macro.
- Save the page.
The TOC macro will link the contents up to the point where the hyperlink was placed in your page's heading. It will then embed your heading's link inside the TOC link. When that embedded link closes, the rest of the heading's contents is plain, unlinked text.
From my example, the TOC macro produces the following markup: will produce the following:
<li><a href="#id-mypage-Alinkandallthatjazz">A link back </a><a href="/confluence/display/DOC/Home">Home</a> and all that jazz</li>