Converting PDF-->EPUB produces non-compliant IDs

Bug #1917371 reported by user5467
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Expired
Undecided
Unassigned

Bug Description

After calibre-converting some PDF file to EPUB and calibre syntax checking an error was determined: "<h3 id="2013" ...>" ( id value may not begin with a digit ).
Improvement proposal: by converting insert a prefix "a" if digit.
If such behavior is not the best solution in all cases, it could be made switchable to "disable" in settings.

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1917371

It's not an error it's a warning. I think these days pretty much all
devices support arbitrary ids, so it can be ignored. Or you can just
have the editor auto-fix it for you if you care.

The numeric ids come from pdftohtml, so this should be fixed there, if
at all. Otherwise its just extra work calibre has to do during
conversion to remap ids, for very dubious benefit.

 status wontfix

Changed in calibre:
status: New → Won't Fix
Revision history for this message
Kovid Goyal (kovid) wrote :

Actually, on second thoughts this may be do-able fairly easily, attach
an example PDF showing the issue.

 status incomplete

Changed in calibre:
status: Won't Fix → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for calibre because there has been no activity for 60 days.]

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

Other bug subscribers

Remote bug watches

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