Htmlz conversion incorrectly handles <br/>

Bug #1239555 reported by Slobberchopz on 2013-10-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
John Schember

Bug Description

Calibre 1.4.0 32 bit, Windows 7 Home Premium 64 bit

In xhtml and html, <br/> is interpreted as a single line-break, and <br></br> as a double line-break, even though both are 'equivalent' and terminating. This can be tested in any browser, I double checked with chrome and calibre's ebook viewer. When converting from epub to htmlz, <br/> is changed to <br></br>, leading to incorrect rendering.


Slobberchopz (slobberchopz) wrote :

This is not a problem when converting epub to epub, so I assume there is some workaround. Also, replacing <br></br> afterwords will not work, since this will in turn change those that were originally so to <br/>.

Changing the component for this bug.

 assignee user-none
 status triaged

Changed in calibre:
assignee: nobody → John Schember (user-none)
status: New → Triaged
Changed in calibre:
status: Triaged → Fix Committed
Kovid Goyal (kovid) on 2013-10-15
Changed in calibre:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers