Language recognition fails in editor with nested tags

Bug #1310000 reported by anselm-peter on 2014-04-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Calibre 1.33 32-bit on Windows 7 64-bit

Editor: When using nested html tags, the language recognition may fail. I'm editing a german book with english cites. When i'm using <span lang="en"><i>This is weird</i></span> the inner text is recognized as "german". If i use <i><span lang="en">This is weird</span></i> the inner text is recognized as "english".

Thank you.

Works for me, it would be helpful if you could attach a complete epub
demonstrating the problem, as there may be some other cause.

 status incomplete

Kovid Goyal (kovid) wrote :

Never mind, I managed to replicate it.

Changed in calibre:
status: New → Incomplete

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers