Quote:
Originally Posted by TonytheBookworm
Code:
<a href="#comments_controls" class="calibre6">No Comments</a>
I tried with no luck the following:
Code:
remove_tags = [dict(name='a', attrs={'href':'#comment controls'})]
|
Based on your quoted html from above, have you tried the correct href? IOW, have you tried this:
Code:
remove_tags = [dict(name='a', attrs={'href':'#comments_controls'})]
(it's always the little things that trip you up!)