02-18-2011, 09:21 PM | #1 |
Junior Member
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 |
02-18-2011, 09:26 PM | #2 |
creator of calibre
Posts: 43,842
Karma: 22666666
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 |
Advert | |
|
02-18-2011, 09:36 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2011
Device: kindle3
|
Aha, perfect! Thanks for the speedy reply Great program by the way.
|
|
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 |