Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ordered list bug when exporting #6471

Open
AnErrupTion opened this issue Jun 24, 2024 · 9 comments
Open

Ordered list bug when exporting #6471

AnErrupTion opened this issue Jun 24, 2024 · 9 comments

Comments

@AnErrupTion
Copy link

Describe the bug
When exporting to any format (like PDF), all ordered lists in the document will have this format if there is at least one unordered list in between them:

1. First
* Anything 1
1. Second
* Anything 2
1. Third
* Anything 3

Instead of having 1, 2 & 3 at the start of each ordered item, as would be expected. Essentially, what happens is, if an unordered list is added after an ordered item, the next ordered item will see its number reset, like this:

1. First
* Anything 1
1. Second
2. Third

To Reproduce
Steps to reproduce the behavior:

  1. Create a new document
  2. Add the following text:
1. First
* Anything 1
2. Second
* Anything 2
3. Third
* Anything 3
  1. Export to a format like PDF
  2. Observe the bug

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):
I'm using https://pad.disroot.org/ so I'm unfortunately clueless about the server information.

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser: Firefox 127.0.1
  • Version: N/A

Additional context
N/A

@heldersepu
Copy link
Contributor

Confirming I was able to reproduce in pad.disroot.org

The ordered list show as all 1 once exported

@ntwaliandy
Copy link

would like to contribute on this! am new here and i was able to install the project and make it run!

@SamTV12345
Copy link
Member

would like to contribute on this! am new here and i was able to install the project and make it run!

Awesome. Happy to have you work on this task.

@ntwaliandy
Copy link

would like to contribute on this! am new here and i was able to install the project and make it run!

Awesome. Happy to have you work on this task.

great, confirmed, i will start looking into it!

@ntwaliandy
Copy link

@SamTV12345 i tried to reproduce the steps but it seems all was good,
i use same pad.disroot.org and tried to export as pdf and results came as expected!
checkout the screenshot below!
Screenshot 2024-07-14 at 16 57 56

@SamTV12345
Copy link
Member

@SamTV12345 i tried to reproduce the steps but it seems all was good,

i use same pad.disroot.org and tried to export as pdf and results came as expected!

checkout the screenshot below!

Screenshot 2024-07-14 at 16 57 56

Can you reproduce it locally? Maybe that is a new issue?

@AnErrupTion
Copy link
Author

@ntwaliandy If you add the ordered list manually, it will work. The bug occurs when using the ordered list feature/button in Etherpad, in the top bar.

@ntwaliandy
Copy link

@AnErrupTion thanks for the clarification!
looking forward to reproduce the bug and fixing it!

Thanks once again

@heldersepu
Copy link
Contributor

@ntwaliandy did you get any more insights in your troubleshooting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants