Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19535

Heading ids are not necessarily unique when using the include or display macro

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.4-milestone-1
    • Fix Version/s: None
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      When including or displaying a page using the include or display macro, identical headings on the including and included page lead to duplicate ids.

      Steps to reproduce:

      1. Create a page A with content = Heading =
      2. Create a page B with content
        = Heading =
        {{include reference="A"/}}
        
      1. Save and view the page.

      Expected result:

      The two headings have different ids.

      Actual result:

      The two headings have the same id.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              MichaelHamann Michael Hamann
              Reporter:
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: