04-02-2010, 04:33 PM | #1 |
Nameless Being
|
Calibre bug?
I thought I would check here first.
If Calibre has to split an html into parts, I believe it does not handle <pre> tags correctly. In my example, the input looks like: Code:
<pre class="idl">interface <dfn id="htmlelement">HTMLElement</dfn> : <a href="part000.html#element">Element</a> { // <a href="part001.html#dom-tree-accessors">DOM tree accessors</a> NodeList <a href="part001.html#dom-getelementsbyclassname" title="dom-getElementsByClassName">getElementsByClassName</a>(in D Code:
<pre class="idl">interface HTMLElement : Element { // DOM tree accessors NodeList getElementsByClassName(in DOMString classNames); I just downloaded 0.6.46 and it has the problem too. |
04-02-2010, 11:48 PM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC the <pre> splitting code doesn't handle tags inside a <pre> well. Iy you want to do that use a <div> and use css to set the whitespace rules instead.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre 0.7.13 - Change library bug ? | zzmijarevic | Calibre | 9 | 08-08-2010 01:57 PM |
Bug in calibre 0.7.5 on Mac related to iTunes | lmamakos | Calibre | 5 | 06-26-2010 09:07 PM |
Where to post enhancements for Calibre, plus Bug Reports? | icq70610 | Calibre | 1 | 03-29-2009 08:06 AM |
Calibre 0.4.73 Bug? | JuristDoctor | Calibre | 12 | 06-24-2008 03:09 PM |