View Single Post
Old 07-23-2014, 01:43 PM   #92
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,939
Karma: 6361444
Join Date: Nov 2009
Device: many
Hi All,

One last bug fix. Here is a patch to the latest Sigil trunk (master) on github, to tell Tidy that the svg image tag is not a block tag but is instead an inline tag that is always empty (ie. to tell Tidy to make it a self-closing tag).

This bug is triggered when using svg images for covers and things when passing it to Kindlegen. Kindlegen's XML parser knows that svg image tags are inline and empty and so it barfs over finding empty < image blah blah > < / image > tags when Kindlegen thinks they should instead be valid only as:< image blah blah / >.

This was my last itch to scratch, but I will look at other fixes and minor changes for Sigil when I get more free time later on this Summer.

Hope this Helps,

KevinH
Attached Files
File Type: zip svg_image_tag_fix.patch.zip (1.3 KB, 329 views)
KevinH is offline   Reply With Quote