Quote:
Originally Posted by einstuerzende
Anybody have an idea? The only thing I can figure is that the combined style and div_id is screwing it up:
Code:
<div id="toolbar_tb" style='padding:4px 0px 25px 15px;background: url(../../pictures/format/dot3.gif) repeat-x bottom; margin-top:10px;'>
Would this trip up remove_tags_after toolbar_tb?
|
No. It shouldn't be a problem. Are you sure that whatever you think is "after" is really "after" that tag? Try printing the soup in your preprocess_html and actually look. Sometimes the order of the tags as seen in FireFox (or whatever you use to check the tag order) is not the same as what your recipe actually sees when it runs. I've had a lot of trouble with remove_tags before and after.