Quote:
Originally Posted by krunk
They're not appearing in the sylesheet.css either (the recursive grep would catch it) but i'll do a deeper inspection there.
|
Yes, the grep should have caught it if it was there. I'd make sure you strip out the stylesheet and the internal style attributes. That's usually the problem with extra_css not showing up. Examine the page of interest, see if it has internal styles, and if so, try:
Code:
def preprocess_html(self, soup):
for item in soup.findAll(attrs={'style':True}):
del item['style']
return soup