display: block for image converted from docx
Hello,
seems images converted from docx to epub obtain css rule "display: block".
Such styling has negative consequences for (at least) inline images:
- image no longer appears centered (when centering is achieved by the paragraph format, eventually applaing css rule "text-align: center" to parent paragraph in epub)
- image surrounded by text appears with undesirable line breaks before and after the image itself
Can I somehow disable this behaviour? So far the workaround for me is to manually edit converted epub – delete rule "display: block" (for class applied to images).
|