Bug converting html css text-indent and left-margin
Back in version 0.9.25 I converted by NIV Bible. It worked well.
Now I have revised the indentation of poetry and genealogical lists. But using calibre 1.21 the are removed and negative text-indent used with left-margin is incorrect.
In the attached files (test.html, test.css) the indentation is correct in my browsers but not when I convert to azw3 for my kindle.
Note: line 11: <p class="poet04"> <sup class="vn" id="v01010002">2</sup>The sons ...
It converts to: <p class="poet"><sup class="vn" id="v01010002">2</sup>The sons ...
The are removed which I am using for proper indentation. And the class="poet04" which has margin-left:4em; and text-indent:-4em; is changed to class="poet" with margin-left:4em; but text-indent:3% WRONG!!
Note: line 9: <p> <sup class="vn" id="v01010001">1</sup>This is ...
It converts to: <p class="calibre1"><sup class="vn" id="v01010001">1</sup>This is ...
Again the are removed and the <p> tag is replaced by <p class="calibre1"> with a text-indent:3% which is close to correct. OK.
Can the be left and the margin and text-indent settings be left so that my indentations will work correctly?
If not what kind of fix should I use?
Thanks, Kovid.
Your program is great!! Thanks muchly for all the work you have put into it.
|