# Bug OP-16370 - PDF export: List in table not formatted as in work package description

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-16370

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.3.0 |
| Observed in versions | 15.1.0 |
| Sprint | 15.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.1.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Andrej Sandorf |
| Product manager |  |
| Developers |  |
| 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.  Login as a user with permission to edit work packages

2.  navigate to a work package and add a table in its description

3.  Add a list into a cell of your table. Example:

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="width:400px;"><p class="op-uc-p">He is making a list</p><ol class="op-uc-list"><li class="op-uc-list--item"><p class=" op-uc-p">checking it</p></li><li class="op-uc-list--item"><p class=" op-uc-p">twice</p><ol class="op-uc-list"><li class="op-uc-list--item"><p class=" op-uc-p">gonna find out</p></li><li class="op-uc-list--item"><p class=" op-uc-p">who's been naughty or</p><ol class="op-uc-list"><li class="op-uc-list--item"><p class=" op-uc-p">nice</p></li></ol></li></ol></li></ol></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td></tr></tbody></table></figure><br>

1.  save the work package description

2.  export the whole work package table as a PDF report

### What is the buggy behavior?

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

  - Additional space will be added between the list entries

  - The formatting is not the same as in the work package description

### What is the expected behavior?

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

1.  The list has the same formatting as in its work package's description

### 

### Screenshots and other files

*Work package*

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

<br>

*PDF report*

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

### Environment information

<br>

**OpenProject installation type**

  - Hosted cloud edition

**OpenProject version**

*15.1*

**Browser**

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

**Operating System**

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

**Language**

*EN/DE tested*

*First mentioned in support ticket 22524*
