View Single Post
Old 08-24-2010, 11:46 PM   #2515
naisren
Enthusiast
naisren began at the beginning.
 
Posts: 41
Karma: 12
Join Date: Jul 2009
Device: ppc
Code:
<li><a href="/Business_Etiquette_1.html" />Business Etiquette</a></li>
as you see, there is "/" in the code
Code:
<a href="/Business_Etiquette_1.html" />
, and another "/" in
Code:
</a>
In reality, the browser can deal with it as without the first "/" , viz
Code:
<li><a href="/Business_Etiquette_1.html">Business Etiquette</a></li>
It seems Calibre can not deal with it as the browser, firefox or IE, it will skip after meeting the first "/".

link "a" tag is one case, division div tag has also such problems, such as
Code:
<div id="text"/>......</div>
How to deal with such codes using recipe, I can't get any links using:
soup.find(id='text').findAll('a') to handle the mentioned code.
naisren is offline