Thread: LRF output
View Single Post
Old 07-16-2007, 07:18 PM   #288
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by bkilian View Post
Oh, I noticed a problem with the code you added to remove the extra <p> in Baen books, I tried to work out why it was happening, and in looking at your source I think I worked it out.
In your BAEN processing stuff, it looks like you have code that strips out the <a id="pXXX"> lines right before you try to strip out the whole <p> including them. I assume the second one never works since the first one has already modified the lines.
Good catch, I've re-ordered them.
kovidgoyal is offline   Reply With Quote