View Single Post
Old 05-11-2011, 06:27 AM   #8
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
You can open the html in the input directory and leave all the &nbsp there, but then you're on you're own to fix all the other problems in the document - once you've done that you can import it back to Calibre as html.

The problem is that the poppler libraries stick &nbsp everywhere, and in order to do all the things to fix a typical novel they get removed first. There are probably other approaches that can be taken in the code, but investing significant effort in the existing pdf conversion engine isn't worth it since it's going to go away.

Blocks of code examples are always going to be a sticky problem regardless of what happens in the future.
ldolse is offline   Reply With Quote