WebToEpub icon indicating copy to clipboard operation
WebToEpub copied to clipboard

Inconsistent image parsing on questionablequesting.com

Open xypha opened this issue 2 months ago • 3 comments

Describe the bug see Scenario 1 and 2 below with screenshots

To Reproduce Steps to reproduce the behavior:

  1. Go to '[NSFW] story'
  2. In the Threadmarks section, display all hidden threadmarks
  3. Click on WebToEpub toolbar icon
  4. Unselect all chapters except the following - • Chapter 02 - Trouble in 'Paradise' • Chapter 64 - A (un)Worthy Spar
  5. Click on Pack EPUB and open output in epub reader to see below scenarios.

Screenshots and descriptions

Scenario 1 1.1 Text in browser -

Image

1.2 Output -

I had to share the bus stop with another streetrat - some quiet Asian <div class="svg_outer svg_inner"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="99%" width="100%" version="1.1" preserveAspectRatio="xMidYMid meet" viewBox="0 0 1920 2716"><image xlink:href="../Images/0000_y-tt-.jpg" width="1920" height="2716"/><desc>https://cdnb.artstation.com/p/assets/images/images/033/581/843/large/y-tt-.jpg?1610012787</desc></svg></div> in a baggy

1.3 Scenario description - Actual behaviour: The linked word chick is completely replaced by the image. Expected behaviour: The image is added next to the linked word, preserving the linked word in the epub.


Scenario 2 2.1 Text in browser -

Image

2.2 Output -

A golden <a href="https://i.ibb.co/jyxVXNm/Masamune-FFXV.webp" class="link link--external" rel="nofollow ugc noopener">hilt </a>stopped her in her tracks

2.3 Scenario description - Actual behaviour: The image in the linked word hilt is not downloaded/added to epub file. Expected behaviour: The image is added next to the linked word.


Desktop:

  • OS: Windows 11 Home Single Language 24H2 (OS Build 26100.3476)
  • Browser: Firefox 143.0.3 (64-bit)
  • Version: WebToEpub 1.0.9.0

Additional context • Scenario 1 is the more important error to solve in my opinion. By deleting the linked word, flow of text is broken and important context is lost (although not in this specific example as the word 'chick' is replaced by the image of a girl). • Since epub cannot be attached here, I extracted the epub file, opened the chapter's .xhtml file in Notepad++ and mentioned the relevant section as Output above.

xypha avatar Oct 01 '25 13:10 xypha