Code block breaks ordered lists when saving comments

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • None
    • Affects Version/s: 7.3.1, 7.3.6, 8.6.0
    • Component/s: Issue - Comments
    • None
    • 7.03
    • 2
    • Severity 3 - Minor

      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.

        1. orderedListCodeBlock.webm
          2.54 MB
          Nathan Parks

            Assignee:
            Unassigned
            Reporter:
            Nathan Parks
            Votes:
            13 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: