Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-18-2011, 09:21 PM   #1
fluxcore
Junior Member
fluxcore began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2011
Device: kindle3
HTML input -<b> and <i> being converted to block elements?

I've got an html input file containing data such as

<p>Lorem ipsum dolor <b>sit</b> amet</p>

however the converted HTML file within the .zip that Calibre creates contains the following:

<p>Lorem ipsum dolor </p>
<b>sit</b>
<p>amet</p>

Which is entirely not the expected behaviour. Are there any abilities to tweak this? It's not really fixable using CSS. The same happens with <i> tags, <strong>, and presumably <em> too.

Cheers
fluxcore is offline   Reply With Quote
Old 02-18-2011, 09:26 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,764
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This will happen only if your html is broken. Run the html through a validator like

http://validator.w3.org/

fix the errors then convert
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 02-18-2011, 09:36 PM   #3
fluxcore
Junior Member
fluxcore began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2011
Device: kindle3
Aha, perfect! Thanks for the speedy reply Great program by the way.
fluxcore is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to keep html links in tact on single document when converted? 77ja55 Conversion 4 01-23-2011 05:46 AM
Epub Converted from HTML has messed up ordering seajewel Calibre 3 12-03-2010 04:47 PM
Code block view (converted from CHM) Replika Calibre 3 10-19-2010 02:08 PM
HTML converted to ZIP? eosrose Calibre 5 08-21-2010 09:22 PM
HTML vs. .LIT converted . . . ? AceHarddrive Reading and Management 7 12-19-2006 05:50 PM


All times are GMT -4. The time now is 05:33 AM.


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