# Bug COMMS-342 - Markdown broken with lists greater than 9

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-342

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Modules and project features / Text editor |
| Target versions | 16.2.0 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Bruno Pagno |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

*Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:*

1.  Create a long markdown list

2.  Add some sub items randomly
    
    1.  I'm a happy sub item.

3.  You'll see that after list item 9 - sub items will break.

4.  Step 4

5.  Step 5

6.  Step 6
    
    1.  I'm another happy sub item.

7.  Step 7

8.  Step 8
    
    1.  I'm one more happy sub item.
        
        1.  I'm that sub item's happy sub item.

9.  Step 9

10. Step 10

<!-- end list -->

``` text
1.  Now I&#39;m a sad sub item.
```

1.  Step 11

<!-- end list -->

``` text
1.  Me too.&nbsp;
```

### What is the buggy behavior?

*Please describe the bug in as much detail as possible. Example:*

  - Lists sub-items break when the list exceeds 9 items.

### What is the expected behavior?

*Describe how the application should behave like. Example:*

1.  Markdown lists should not break.

### Screenshots and other files

Screenshot from before submission:

*<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/640548/content">*

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

  - Hosted cloud edition

**Browser**

- [x] Chrome
- [x] Firefox
- [x] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [x] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)

**Language**

*English*
