I have tried to convert html to mobi with the any2mobi tool using a intermediated opf-file. On most parts the conversion works very well. But in one of my sources there is a text part that has a line through it. That is converted to normal text.
The original uses the <strike> tag, but I did tried <span style="text-decoration: line-through">, too. Both are lost when using any2mobi and both are retained by mobigen.
Code:
<p>strike through:<br />
<strike>This is a sentence with a strike through.</strike><br />
<span style="text-decoration: line-through">This is a sentence with a strike through.</span><br />
</p>
I extracted the raw html from the two mobi versions with mobi2html from the mobiperl tools. In the any2mobi version the text adornment is just gone. In the mobigen version both lines now use the <strike> tag.
html any2mobi:
Code:
<p align="justify" height="1em" width="0pt">strike through:<br />
This is a sentence with a strike through.<br />
This is a sentence with a strike through.<br />
html mobigen:
Code:
<p>strike through:<br />
<strike>This is a sentence with a strike through.</strike><br />
<span><strike>This is a sentence with a strike through.</strike></span><br />
Attached are my test html file (cleverly named test.html) and the two mobi versions.
Am I doing something wrong? Is there a way to conserve strike through text with any2mobi?