View Single Post
Old 07-26-2011, 12:16 PM   #3
jswinden
Nameless Being
 
Quote:
Originally Posted by Giselleco View Post
Hello,
I just got a new Kobo Touch and I've got a few ePub books that show up with the HTML code every few pages. An example of the code: "@namespace h "http://www.w3.org/1999/xhtml"; .bold { font-weight: bold } .calibre { display: block; font-size: 1em; margin-bottom: 0; margin-left: 5pt; margin-right: 5pt; margin-top: 0; padding-left: 0; padding-right: 0; text-align: justify } .calibre1 { display: block } .calibre10 { text-decoration: underline } .calibre11 "

Which goes on for about 4-5 pages on the Kobo. I use calibre. Any idea how to remove that?

Thanks.
That appears to be sloppy HTML coding. HTML is a markup language that requires uses tags around text to define that text. Many tags have a begiining tag and an ending tag. My guess is that a begiining tag was used without an ending tag, or vice versa, which confused the conversion program and thus it interpreted the HTML code as though it was part of the readable text. In your case it looks like the <HEAD> </HEAD> and/or <STYLE> </STYLE> tags near the top of the HTML files got messed up.

It is quite possible that a typo was introduced in one file then managed to get copy and pasted into other files by the creator of the files. Probably an easy fix.

Last edited by jswinden; 07-26-2011 at 12:18 PM.
  Reply With Quote