Quote:
Originally Posted by Nicolas F
I get the same problem with a kobo Glo HD. It used to work fine but after updating the kobo I get the same problem, some of the HTML is displayed instead of being interpreted. (Kobo Firmware 4.8.11073)
Example of an annotation:
Code:
<div class="user_annotations" style="margin:0">
<div class="annotation" genre="" hash="14930018755f664a247d5283c50a1acf" location_sort="001003" reader="KoboTouchExtended" style="margin:0 0 0.5em 0">
<table cellpadding="0" width="100%" style="background-color:LightGray;color:black;font-size:80%;font-weight:bold;margin:0;" color="Gray">
<tr>
<td class="location" style="text-align:left">Chapter One</td>
<td class="timestamp" uts="1527709969.0" style="text-align:right">30/05/2018 21:52:49</td>
</tr>
</table>
<p class="highlight" style="margin:0;text-indent:0.5em;">Twilight had fallen</p>
</div>
</div>
It uses < and > instead of < and >
Since I don't sync the annotations everytime I'm not sure it's due to the kobo update, but I don't think I changed anything else.
|
None of the tags that use < and > come from the device. They are part of the code that the plugin generates when formatting the annotation. Nothing has changed in the plugin, so it must be something in what calibre is doing when the annotation is put into the column. It is interesting that it is affecting the table and paragraph tags and not the divs. Are you using a separate column, or the comments column like @ageha is?
In any case, I will have a look at it over the next few days. Also, what version of calibre are you using? The more recently it started, the fewer changes I have to look at.