HTML headers with anchors no longer create links in Table of Contents macro

XMLWordPrintable

    • 1

      Since I raised a similar issue in this project, I'm cross-posting this bug report. See TOC-139 for the original.

      When adding the example HTML from the macro documentation to a page in an HTML macro, the expected behavior is that the TOC macro will render the heading and create a link the the anchor with a href. Instead, the <a> is created without a href, similar to this Confluence request. I'm not sure if it's an issue with TOC or with the Confluence renderer mentioned in the other JAC issue.

      Example HTML:

      <h2><a name="pagename-headingname"></a>Heading Name</h2>
      

      Confluence 3.5 renderer would create this HTML for the page:

      <a href=​"#pagename-headingname">​Heading Name​</a>​
      

      Confluence 4.2 renderer creates this HTML instead:

      <a name=​"pagename-headingname">​Heading Name​</a>​
      

              Assignee:
              fabs (Inactive)
              Reporter:
              Adam Laskowski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: