Wiki Style Renderer does not show bullets spacing correctly

XMLWordPrintable

    • 5.02
    • 14
    • Severity 3 - Minor
    • 2

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary of Bug

      When using the Wiki Style Renderer (Rich text editor), there are times when the spacing between the bullets are not shown correctly; Especially when adding any format to the main point in a bullet list.

      Steps to replicate

      1. In the comment or description of an issue, enter the following (as an example) :
        * *test*
        ** one
        ** two
        * *test two*
        ** one
        ** two
        
      2. The preview of it would show the following :
      3. However, when inserted into JIRA, the result would be the following :

      Additional Info

      • Everything seems to show fine if there is an empty space placed in between the two main points, like the following :
        * *test*
        ** one
        ** two
        
        * *test two*
        ** one
        ** two
        
      • Behavior is also different if the main points (test and test two) is not bold - Here is the preview :

        and here is the result :
      • This is visible when you make the main point italics,underline or add a font color.

      Workaround

      Workaround created bases on this comment
      Set the following code in the Announcement Banner:

      <style type="text/css">
      li > ul, li > ol {
          margin-top: 0;
      }
      </style>
      

      The workaround has been tested in Jira versions:

      • v9.4.X
      • v9.12.22
      • v10.6.1

        1. without bold result.png
          5 kB
          Joe Wai Tye
        2. without bold preview.png
          4 kB
          Joe Wai Tye
        3. preview.png
          3 kB
          Joe Wai Tye
        4. result.png
          9 kB
          Joe Wai Tye

            Assignee:
            Unassigned
            Reporter:
            Joe Wai Tye (Inactive)
            Votes:
            20 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated: