View Single Post
Old 01-15-2015, 05:15 AM   #1
iliakan
Member
iliakan began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2015
Device: iphone 6
HTML to EPUB conversion breaks styles

I had the structure like this (writing only classes):
Code:
.balance 
  .balance__pluses
    .balance__content
      .balance__list
  .balance__minuses
    .balance__content
      .balance__list
After ebook-convert to epub:
Code:
.balance.pcalibre1
  .page
    .balance__content
      .balance__list
  .balance__minuses.pcalibre3
    .balance__content1
      .balance__list
Classes are renamed and rearranged in a strange fashion! There is no balance__plus any more.

And when I open the resulting epub, I see the layout is broken http://ilyakantor.ru/screen/2015-01-15_1313.png.

When I unzip the epub and open it in the browser, the layout is broken as well.

It definitely does something wrong.

The HTML is inherently made simple to demonstrate the issue, it's (with styles and epub) here: http://ilyakantor.ru/convert.zip

Is it a bug? What I could to to evade it here?
iliakan is offline   Reply With Quote