Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-8627

reST nested auto-enumerated lists don't work in Wiki (BB-9855)

    XMLWordPrintable

Details

    Description

      This is the auto-enumerated list in reST:

      #!rst
          1. Item 1
          #. Item 2
          #. Item 3
      
             a. Subitem 3.a.
             #. Subitem 3.b.
             #. Subitem 3.c.
      
                i. Subsubitem 3.c.i.
                #. Subsubitem 3.c.ii.
      
             #. Subitem 3.d.
      
                i. Subsubitem 3.d.i
      
                   Yes, you must re-specify the sequence type you want.
                   This subsub-list is separate from the previous subsub-list.
      
                #. Subsubitem 3.d.ii
      
          #. Item 4.
      
             a. Subitem 4.a.
      
                Yup, recall that you must re-specify the sequence type here.
      
             #. Subitem 4.b.
      

      Expected to produce this:

      #!rst
          1. Item 1
          2. Item 2
          3. Item 3
      
             a. Subitem 3.a.
             b. Subitem 3.b.
             c. Subitem 3.c.
      
                i. Subsubitem 3.c.i.
                ii. Subsubitem 3.c.ii.
      
          ...
      

      Instead produces this:

      #!rst
          1. Item 1
          2. Item 2
          3. Item 3
      
             1. Subitem 3.a.
             2. Subitem 3.b.
             3. Subitem 3.c.
      
                1. Subsubitem 3.c.i.
                2. Subsubitem 3.c.ii.
      
          ...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            e2342e6e1359 Jon Wong
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: