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

The starting index of the <ol> list is ignored #4000

Open
e2t opened this issue Jan 3, 2024 · 0 comments
Open

The starting index of the <ol> list is ignored #4000

e2t opened this issue Jan 3, 2024 · 0 comments
Labels

Comments

@e2t
Copy link

e2t commented Jan 3, 2024

SumatraPDF version

  • Version 3.5.2 64-bit

Describe the bug
The <ol> list can be given a start index from which to start counting instead of one. SumatraPDF ignores this, always starting the countdown from one.

To Reproduce

  1. Create an EPUB file with the following contents:
<body>
  <ol>
    <li>One</li>
    <li>Two</li>
    <li>Three</li>
  </ol>

  <ol start="4">
    <li>Four</li>
    <li>Five</li>
    <li>Six</li>
  </ol>
</body>
  1. Open this file in SumatraPDF.
  2. It looks like this: 1, 2, 3 and 1, 2, 3.

Expected behavior
It should look like this: 1, 2, 3 and 4, 5, 6.

File that reproduces the problem
test.zip

Screenshots
It's supposed to look like this:
image
It's actually like this:
image

Additional context
Nothing.

@kjk kjk added the mupdf label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants