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

Markdown files with code blocks in nested ordered lists are not rendered properly.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 4.1.0
    • 3.11.4
    • None
    • None

      The code block does not terminate properly when the indentation is reduced to the previous level.

      • STEPS TO REPRODUCE
        1. Push a markdown file to stash.
        2. View it in the source browser. (*/repos/<whatever>/browse/test.md)
      • RESULTS
        See screenshots comparing try.commonmark.org with stash given the same input.
      • REGRESSION
        Works on other markdown implementations.

        1. bitbucket-server-4.4.png
          bitbucket-server-4.4.png
          37 kB
        2. commonmark-render.png
          commonmark-render.png
          95 kB
        3. stash-render.png
          stash-render.png
          51 kB
        4. test.md
          0.3 kB

              Unassigned Unassigned
              4c762d6af390 Corey Steele
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: