Ok, here's an example:
Code:
dict(name='div', attrs={'class':['reaction_pannel_v3 facebookvote_v2 business_vertical_bg_link','reaction_pannel_v3 facebookvote_v2 chicago_vertical_bg_link','reaction_pannel_v3 facebookvote_v2 comedy_vertical_bg_link','reaction_pannel_v3 facebookvote_v2 denver_vertical_bg_link','reaction_pannel_v3 facebookvote_v2 green_vertical_bg_link','reaction_pannel_v3 facebookvote_v2 media_vertical_bg_link','reaction_pannel_v3 facebookvote_v2 politics_vertical_bg_link','reaction_pannel_v3 facebookvote_v2 sports_vertical_bg_link','reaction_pannel_v3 facebookvote_v2 world_vertical_bg_link']}),
I don't know if I've gotten all the variations on this one. But I suspect I haven't. So I want to just be able to write:
Code:
dict(name='div', attrs={'class':['reaction_pannel_v3']}),
And have it block out all of the above. In the CSS, all of those items are styled by all three classes. So, is it possible to block out a class that is always joined with other classes, even if you don't know all of the other classes it might be joined with?
This is a common problem on the Huffington Post recipe. I've nearly got it trimmed, but new variations keep popping up and my recipe keeps getting longer and longer.