Skip to content

fix(novelfrance): prevent skipping first paragraph in chapter parsing - #2391

Merged
rajarsheechatterjee merged 2 commits into
lnreader:masterfrom
hubhub-ops:master
Aug 8, 2026
Merged

fix(novelfrance): prevent skipping first paragraph in chapter parsing#2391
rajarsheechatterjee merged 2 commits into
lnreader:masterfrom
hubhub-ops:master

Conversation

@hubhub-ops

@hubhub-ops hubhub-ops commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Update version code if an existing plugin was modified
  • Test changes in Plugin Playground or the app
  • Reference related issues in the PR body (e.g. Closes #xyz)
  • Le plugin supprimait systématiquement le paragraphe d'index 0 (p.index === 0), ce qui causait la perte du tout premier paragraphe du chapitre.
    Solution apportée :
    Modification de la condition dans parseChapter pour ne sauter le paragraphe d'index 0 que s'il est rigoureusement identique au titre du chapitre.

@rajarsheechatterjee
rajarsheechatterjee merged commit a263e55 into lnreader:master Aug 8, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants