Thread: Sigil v0.1.6
View Single Post
Old 12-12-2009, 03:04 PM   #27
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,958
Karma: 6361444
Join Date: Nov 2009
Device: many
Hi,

I loaded an epub file and ran into the following when comparing the original xhtml to that created by Sigil (latest version 0.1.6)

Is this something that can be fixed in Sigil or is this a bug in Tidy?

The original xhtml looked like ...

<h2><span class="bold"><span>C<span class="small"><span>HAPTER</span></span> 1</span></span></h2>

but once imported, Sigil/Tidy removed the <span> tags that do not invoke a specific css item and somehow it ends up adding in a space after the C

so it becomes

<h2><span class="bold">C <span class="small">HAPTER</span> 1</span></h2>


The problem is the first one looks like:

CHAPTER (with HAPTER - in small caps

and the Sigil makes it look like the following:

C HAPTER (with HAPTER - in small caps)


Is this something that Tidy is doing or should I file a bug report?

Thanks,

KevinH
KevinH is offline   Reply With Quote