Heuristics breaking id="_anchor_"
Bug #986298 reported by
Kovid Goyal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Lee |
Bug Description
Heuristics causes a tag like this:
<p id="_anchor_
to become:
<p id="<
Although id="_anchor_" is not valid HTML, apparently Word generates it, so it's worth fixing, see http://
Of course, given the way heuristics works, this may be difficult. I've attached a test case that reproduces the bug with
ebook-convert heu.html oeb --enable-heuristics && cat oeb/heu.html
Related branches
To post a comment you must log in.
Huh - I hadn't seen it do that before, but agree it's definitely something that merits fixing. I'll dig into it.