Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-4456

Improve Markdown rendering to not require blank lines around code blocks

XMLWordPrintable

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      In Stash comments that use the triple backtick to create code blocks, XML is being flattened our to a single line.

      Example of issue:

      Some plain text...
      ```
      <parent>
        <child>content</child>
      </parent>
      ```
      

      Is being rendered as...

      Some plain text...
      <parent>  <child>content</child></parent>

      However, if you don't have the line of plaintext directly above the code block, it seems to render just fine.

              Unassigned Unassigned
              91487a221fd8 Joshua Stewart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: