Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 08:07 PM   #1
Siggy15
Junior Member
Siggy15 began at the beginning.
 
Posts: 8
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 Today, 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 online now   Reply With Quote
Advert
Old Today, 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,163
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
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 11:29 PM.


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