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

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 3.4-milestone-1
    • None
    • Unknown

    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

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

              Dates

                Created:
                Updated:
                Resolved: