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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-08-2010, 01:14 PM   #1
kentmatt
Member
kentmatt doesn't litterkentmatt doesn't litter
 
Posts: 14
Karma: 116
Join Date: Jul 2010
Device: none
Why do html entities get replaced upon import?

I notice that when I import an htm file into calibre (not conversion - just importing it into the library), calibre alters my document. For example, all of the character entities such as “ &rdquo, — get replaced with “ ” and — in the file.

Is this by design, or is it a bug? This should not occur - these entities are used in place of the characters for a reason. Simply importing a book shouldn't mess with the internals of it.
kentmatt is offline   Reply With Quote
Old 12-08-2010, 01:21 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: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
it's by design, and it isn't going to change. I lack the time to tell you why, you will just have to take my word for it.

EDIT: And if you dont want this behavior just put your html files in a zip file before importing them

Last edited by kovidgoyal; 12-08-2010 at 01:24 PM.
kovidgoyal is online now   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
html import remove userdefined Tags gucky Calibre 0 11-14-2010 10:35 AM
Html import broken in 0.7.25 - ok to rollback? kiwidude Calibre 7 10-31-2010 01:07 PM
Calibre can't import html exported by Acrobat? greenapple Calibre 0 02-11-2010 01:37 AM
importing html does not import images reup Calibre 12 12-08-2009 09:52 PM
Can I preserve entities when converting from html? (To avoid unicode on kindle) krunkster Calibre 1 04-07-2009 06:11 PM


All times are GMT -4. The time now is 12:52 AM.


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