Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-23650

Confluence serves anchors to the browser as an empty element <a name="..." /> which the browsers don't handle very well leading to all subsequent text being rendered as a link

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.0.5
    • None
    • None
    • None

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      This bug is usually encountered when you copy and paste from another web page which contain invisible anchor links.

      Anchor links normally appear on big pages which begin with a table of contents of links to allow a user to quickly navigate to the relevant section of the page. The anchor link will typically be declared above or near the headings on this page.

      If you copy and paste a section that includes a heading, it is likely you have also copied an anchor. To know for sure, you can view the HTML source of the page if you are comfortable doing this.

      To reproduce this bug:

      1. Open the attached test.htm file. It has an invisible anchor markup: <a name="heading_1"></a>. Notice the anchor has a start and end element with an empty body. Also notice it is not an empty element: i.e. <a name="Search_options />. Any markup containing an anchor like this can be copied and pasted to reproduce this issue.
      2. Now paste into a Confluence page
      3. Now save the page
      4. You should see the heading text and the text after it rendered as a link (with an underline and blue text)

      Attachments

        Issue Links

          Activity

            People

              ldally lachland
              dave@atlassian.com dave (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: