Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-01-2026, 08:07 PM   #1
Siggy15
Member
Siggy15 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2026
Device: Foliate/Linux
Index Creator bug maybe?

This is processed correctly:

<span class="sigil_index_marker" title="Now we're equally"> </span>

This is ignored:

<span class="sigil_index_marker" title="Now we're equally"></span>

This is also ignored:

<span class="sigil_index_marker" title="Now we're equally"><img src="now.jpg"/></span>
Siggy15 is offline   Reply With Quote
Old 11-01-2026, 08:33 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,897
Karma: 34252744
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Suggest you always put code in code tags, the forum software has a habit of injecting spurious spaces,

Code:
<span class="sigil_index_marker" title="Now we're equally"> </span>
In Advanced mode it's the '#' button.

BBCodes supported on MR ==>> https://www.mobileread.com/forums/misc.php?do=bbcode

BR
BetterRed is offline   Reply With Quote
Old 11-01-2026, 09:57 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,176
Karma: 7640000
Join Date: Nov 2009
Device: many
The one that is processed correctly has a text node to process (even if it is just a single space), the second and third example have no text node to process. You need a text node so that the QRegularExpression has something to attempt to match.

Not a bug, but a requirement for a text node to process an index entry, and not an img tag or other non-text node.
KevinH is offline   Reply With Quote
Old Yesterday, 11:42 AM   #4
Siggy15
Member
Siggy15 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2026
Device: Foliate/Linux
That's pretty much what I concluded. Not really ideal behavior, if the title is supplied then a "text node" should not be required. But the workaround is simple, and I haven't seen a reader app that messes it up, yet. Remember Internet Exploder? Most epub readers are a lot worse, you never know how standard html will be displayed, and that space could be rendered even though it shouldn't, that is my concern.

Sigil preview actually has excellent rendering, with a few buttons added it could be used as a reader, in fact I often read entire books in Sigil already. Previous, Next, and Home, where Home connects to a special tag marking the table of contents page.

I actually use the heck out of Sigil, which is why I have all these annoying little bugs to report.
Siggy15 is offline   Reply With Quote
Old Yesterday, 01:21 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,176
Karma: 7640000
Join Date: Nov 2009
Device: many
Just install the Sigil plugins that actually supply their own e-reader.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange bug (tuple index out of range) un_pogaz Calibre 4 08-15-2021 10:17 PM
Bug in index creation with Sigil Patrick V Sigil 6 02-11-2020 10:12 AM
[BUG] Index lists all words starting with string 1v4n0 Sigil 9 05-17-2018 02:28 PM
creator is as mysterious as sublime creator bassetti Introduce Yourself 2 08-24-2008 07:49 AM
Manga creator from JPEGs? (BBeb creator) jessesn Sony Reader 3 10-03-2006 01:06 AM


All times are GMT -4. The time now is 03:24 PM.


MobileRead.com is a privately owned, operated and funded community.