Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-65354

Code block breaks ordered lists when saving comments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 7.3.1, 7.3.6, 8.6.0
    • Issue - Comments
    • None

    Description

      Code block breaks ordered list when saving comments

      Steps to Reproduce

      1. Start a new comment.
      2. Create a numbered list with multiple line items.
      3. In one or more line items in the numbered list, include a code block.
      4. If using visual editor, notice that there is one contiguous numbered list.

      Example:

      # line 1
      # line 2 (include a code block here)
      # line 3
      # line 4
      

      Expected Results

      Only one numbered list is created, as seen in the visual editor.

      Actual Results

      Multiple separate numbered lists are created. (If using visual editor, what you see is not what you get.)

      Workaround

      Edit the comment and save with text editor selected.

      Notes

      Video attached.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nparks@atlassian.com Nathan Parks
              Votes:
              13 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: