View Single Post
Old 04-18-2022, 06:55 AM   #1604
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
In the jacket created at the back of the eBook, deleting the following code allows epubcheck to validate the jacket without error. Also, deleting this code does not change the formatting of the jacket.

Code:
        <tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none">
          <td colspan="2"/>
        </tr>
However, this is a case where epubcheck is wrong. The global attribute data-calibre-jacket-searchable-tags="1" is perfectly legal (here, here).

According to Kovid, adding these tags is deliberate. He said in a bug report:
Quote:
This is deliberate, it allows you to search for individual words across
books on the Kindle and not get matches when those words are part of a
larger word.
If you know you don't want them then create a custom book jacket template and remove the line
Code:
<tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none"><td colspan="2">{searchable_tags}</td></tr>
in jacket/template.xhtml.
chaley is offline   Reply With Quote