Turning on "Remove indents at beginning of lines" may cause error in converting

Bug #1967828 reported by Z Yin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

This is probably related to the new fix in https://bugs.launchpad.net/calibre/+bug/1965443.

To reproduce:
1. Add the attached txt as a book.
2. Try to convert to epub, with the option [TXT input > Common > Remove indents at beginning of lines] turned on.
3. Convert will fail.

Interestingly, randomly deleting any line from a random location could make the error disappear.

Revision history for this message
Z Yin (zyinmd) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

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

 status fixreleased

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

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.