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

TOC not displaying properly

    XMLWordPrintable

Details

    • toc,macro
    • Unit

    Description

      When I try the following in a page:

      = Level 1
      
      {{toc start=1 depth=3 numbered=false scope=page /}}
      
      == Level 2a
      
      === Level 3a
      
      === Level 3b
      
      == Level 2b
      
      === Level 3c
      

      [Level 2b] does not "untab" itself in the TOC. This only happens when there are 2 or more children preceding the parent's siblings (i.e. if [Level 3b] did not exist, this would work properly).

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            orangerd Lewis Denizen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: