View Single Post
Old 12-04-2012, 05:33 AM   #6
boatat72
Member
boatat72 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2011
Location: Cambridge UK
Device: Kindle, Sony Reader, iPad, Kobo, Nook
Hi, thanks for looking at this.
All the &nbsp; are in the text in the <body> and were inserted in book view by hitting the spacebar.
There are none inside the <head> or <link> tags. But it is the <link> that gets damaged if a &nbsp; is present in the text of that file.

There are four files attached, 2 pure Sigil code and the same two after conversion by Calibre. They all contain exactly the same content but made with 2 different versions of Sigil, as per the filenames.
I did not keep a copy of 0.6.0 so used 0.5.3.
Chapter 1 is an example of a poem with lots of differential spacing. [gives error]
Chapter 2 has one &nbsp; [gives error]
Chapter 3 has only ordinary spaces [no error]

The problem does not exist before the EPUB is opened and it does not appear to matter which version of Sigil made the file originally.
The act of opening EPUBs with Sigil 0.6.1 introduces the problem to files that have been converted by Calibre. The same file can be opened by 0.5.3 with no errors.
Attached Files
File Type: epub Made with 0.5.3 Converted by Calibre.epub (49.5 KB, 41 views)
File Type: epub Made with 0.6.1 Converted by Calibre.epub (49.7 KB, 46 views)
File Type: epub TEMPLATE made with 0.5.3.epub (42.5 KB, 39 views)
File Type: epub TEMPLATE made with 0.6.1.epub (42.5 KB, 42 views)
boatat72 is offline   Reply With Quote