xxyzz / WordDumb

A calibre plugin that generates Kindle Word Wise and X-Ray files for KFX, AZW3, MOBI and EPUB eBook.
https://xxyzz.github.io/WordDumb/
GNU General Public License v3.0
386 stars 19 forks source link

X-Ray deleteing text after an X-Ray instance in epub #212

Closed KeePach closed 6 months ago

KeePach commented 6 months ago

Checkboxes

Describe the bug and copy the error message

When creating X-Ray for epubs, if the last paragraph of a chapter contains an X-Ray instance, the text after the last x-ray instance gets erased

Plugin settings and reproduce steps

  1. Connect the device to calibre
  2. open the Worddumb pluging and click "Create X-Ray"
  3. wait for the x-ray creation and upload of the epub to device
  4. open book on device

Generated files, screenshots or videos

books.zip

No response

xxyzz commented 6 months ago

https://github.com/xxyzz/WordDumb/commit/0c267e601173b7e8bfb16737f91eeef2b1000741 should fix this bug, test version can be downloaded from https://github.com/xxyzz/WordDumb/actions/runs/8858373801

KeePach commented 6 months ago

fixed