View Single Post
Old 03-20-2012, 02:37 PM   #1
bobb40
Enthusiast
bobb40 has a complete set of Star Wars action figures.bobb40 has a complete set of Star Wars action figures.bobb40 has a complete set of Star Wars action figures.
 
Posts: 28
Karma: 274
Join Date: Jul 2011
Device: Kindle3, Kindle4, KoboGlo
sigil "condensation" of nested <div>'s

I imported a large valid ebook xhtml file to Sigil (version 0.5.3), saved to epub, and found that all nested <div>'s had been "condensed"; e.g.,

xhtml file content...
<div class="outer">
<div class="middle">
<div class="inner">
<img src="example.jpg" alt="example">
</div>
</div>
</div>

appeared in the epub as:
<div class="outer middle inner">
<img src="example.jpg" alt="example">
</div>

I googled unsuccessfully for explanation, so tried the notation on good example code and found it didn't work.

Is there an explanation or workaround for this?
bobb40 is offline   Reply With Quote