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

Markdown doesn't render fenced code block inside a list

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Low Low
    • None
    • 2.11.3
    • None

      Placing a fenced code block inside a list item does not work. The following sample:

      ## Installation
      
      1. Require the package using composer:
      
         ~~~bash
         $ composer require vendor/package:1.*
         ~~~
      
      2. Publish the module's assets:
      
         ~~~bash
         $ bin/console asset:publish
         ~~~
      

      Should produce a list with two items each containing a fenced code block.

      Instead the result is two separate lists and no code blocks (just raw text with literal ~~~bash in the output).

            [BSERV-4460] Markdown doesn't render fenced code block inside a list

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1444047 ] New: JAC Bug Workflow v3 [ 3134516 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 627578 ] New: Stash Workflow - Restricted [ 1444047 ]
            CharlesA made changes -
            Resolution New: Not a bug [ 12 ]
            Status Original: Needs Triage [ 10030 ] New: Closed [ 6 ]
            Rafi Adnan created issue -

              Unassigned Unassigned
              80a88a1c8eab Rafi Adnan
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: