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

multiline code blocks get mangled into 1 line when tried embed them in a list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • Product - Editor
    • None

      Issue Summary

      multiline code blocks get mangled into 1 line when tried to embed them in a list. The issue occurs in the pull request description editor, pull request comments editor.

      Steps to Reproduce

      1) Open a pull request.
      2) In the description box, add a bullet or a numbered list. 
      3) From one of those dots or number, <shift>-<enter> to a new line and click the 'code snippet' option
      4) select any language and paste a valid multi-line code/query
      5) save
      6) depending on how the to save was executed, a page reload may be needed to see the state where the code/query was mangled into a 1-line state

      Expected Results

      Actual Results

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              f2cc5e9850cf Suhas Sundararaju
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: