Beautify all files does not work well
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
In the editor :
1) The embellishment of the attached file does not work well: the 3rd div after the start is not correctly incremented.
If, in the 2nd div, I delete: <span id="page_0"/>, then the embellishment works well.
It will be the same if we have:
<span id="page_0"></span>
<a id="epub_
<a id="epub_
With epub3, we find more and more frequently this kind of tag, and therefore, the embellishment works less and less.
2) Requested improvement
The help says: "Beautify algorithm only beautifies block level tags that contain other block level tags".
If we run: "Remove unused css rules", we first get a screen with a checkbox. It would be very useful, when we launch "Beautify all files", to have first a warning screen with the possibility to check a box to beautify also the block level tags that do not contain other block level tags. This box would not be checked by default.
description: | updated |
description: | updated |
Changed in calibre: | |
status: | In Progress → Won't Fix |
This is not worth the effort for me personally. If some one else wants to implement it, I will be happy to supply any needed guidance. If so, re-open the ticket and we can discuss it.
status wontfix