Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-507

TOC macro with local scope can include non local headings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 9.11
    • Macro - Toc
    • None
    • Unknown

    Description

      To reproduce:

      • Create a Main.TOC.WebHome page with the following content
        = hA =
        
        {{toc start=2 scope=local/}}
        
        == hAA
        
        == hAB
        
        {{include reference="Main.TOC2.WebHome"/}}
      • Create a Main.TOC2.WebHome page with the following content:
        = hB =
        
        == hBA
        
        == hBB

      Then view Main.TOC.WebHome and you'll see what's attached.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: