Skip to content

Wrong verse number on multi chapter or multi verses #325

@GabrielGBraga

Description

@GabrielGBraga

Describe the bug
When using the multi chapter/verse, the second part has the verse number not as the one asked, but as the continuation of the brevious one, e.g. the 1st verse is 5 and the 2nd is supposed to be 20, but it shows as if it's the verse 6. The text of the verse it self is right, only the number shows that shows is wrong. On the preview of the reference the verse number is right, so I imagine the mistake is at the implementation for it to be on the obsidian text file. It's quite visible on the images.

To Reproduce
Steps to reproduce the behavior:

  1. Write the verse call, e.g. Rom3:12, 30 or Rom3:12,5:12
  2. Se the preview with the correct verses.
  3. Click on Enter for the command to be completed.
  4. Expand, if necessary, the verse so that you can see the whole content.
  5. See error on the second part and how is the following number after the last verse of the first part.

Expected behavior
The correct behavior is that the second part has a separated logic for showing the verse number, so that each part has it's own counting and the verse number be the right one for the text.

Screenshots

  • First case:

Before:

Image

After:

Image
  • Second case:

Before:

Image

After:

Image

What Device Do You Use(please complete the following information):

  • Device: [Lenovo laptop / Galaxy A15]
  • OS: [e.g. Windows 11/One UI 8]
  • Version [latest]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions