View Single Post
Old 07-23-2012, 11:00 AM   #1
BKh
Connoisseur
BKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheeseBKh can extract oil from cheese
 
Posts: 50
Karma: 1000
Join Date: Mar 2011
Device: Kindle
Code showing in mobi (from epub)

What could be causing markup code to be showing sometimes in a finished Mobi file on a Kindle? It only happens when I use the 4-way navigator to skip ahead or back. And it doesn't always happen. I have attached a screen shot from the Kindle (keyboard version).

I create the files in Sigil and then use Calibre to make the mobi. I have looked at pages where it happens and where it doesn't happen and can't see a difference in the code. I have included the code from the page associated with the screenshot below.

Any ideas?

Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title></title>
  <link href="../Styles/Stylesheet.css" rel="stylesheet" type="text/css" />
</head>

<body>
  <h2 class="sutta" id="heading_id_2" title="4. Nandakovādasuttaṃ"><span class="sutnum">4.</span>&nbsp;Nandakovādasuttaṃ</h2>

  <p class="bodytext"><a id="para398"></a><a id="para398_mn3"></a><span class="paranum">398</span>. Evaṃ <a id="T3.0486"></a><a id="V3.0324"></a> me sutaṃ – ekaṃ samayaṃ bhagavā sāvatthiyaṃ viharati jetavane anāthapiṇḍikassa ārāme. Atha kho mahāpajāpatigotamī pańcamattehi bhikkhunisatehi saddhiṃ yena bhagavā tenupasaṅkami; upasaṅkamitvā bhagavantaṃ abhivādetvā ekamantaṃ aṭṭhāsi. Ekamantaṃ ṭhitā kho mahāpajāpatigotamī bhagavantaṃ etadavoca – “ovadatu, bhante, bhagavā bhikkhuniyo; anusāsatu, bhante, bhagavā bhikkhuniyo; karotu, bhante, bhagavā bhikkhunīnaṃ dhammiṃ katha”nti <span class="note">[dhammikathanti (syā. kaṃ. ka.)]</span>.</p>
Attached Thumbnails
Click image for larger version

Name:	screen_shot-4659.gif
Views:	68
Size:	48.4 KB
ID:	89599  
BKh is offline   Reply With Quote