break line/italic - wrong conversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Lee |
Bug Description
Calibre 0.9.41 and earlier versions
There is a problem with conversion html files with italic text with BR tags inside -> all text in document AFTER this is converted as italic.
Important: when you have only one "section" with <i> text <br> </i> text - it's OK, but when you have more than 2 => the problem is. Please, take a look at png file (attachment).
It's a good idea make conversion from docx file or filtered html file - from Microsoft Word, but this program close "italic tag" after break line tag. If You want/can correct this Word's bug... ;)
I noticed it before (conversion to AZW3) but it was ocassionaly and I can correct this in html code. Unfortunately I have to convert the book with different styles so it's easy do it wit Word in docx file.
Sample html file listing is below the footer.
Calibre is the best - thank You.
Best regards,
Tomasz Ceglinski
------------------ test html file -------
<html><
<body lang=PL link=blue vlink=purple>
<h2>chapter</h2>
<p><i>italic. <br>
</i>normal after break line<br>
<br>
</p>
<p>normal text normal text normal text normal text normal text normal text</p>
<h2>chapter</h2>
<p><i>italic. <br>
</i>normal after break line<br>
<br>
</p>
<p>normal text normal text normal text normal text normal text normal text</p>
<h2>chapter</h2>
<p><i>italic. <br>
</i>normal after break line<br>
<br>
</p>
<p>normal text normal text normal text normal text normal text normal text</p>
</body>
</html>
-------
I cannot reproduce this, converting your test.html to azw3 gives correct behavior for italics with calibre 0.9.41, see attached file.