Quote:
Originally Posted by weebl
Starson - thanks, that worked great. I will post the recipe and I would like to learn more. I've looked over the tutorial and command reference, but I still cannot figure out how to put together the syntax to swap one graphic for another. Could you help with that?
|
I'd use preprocess_html, as originally suggested. You were using the replace function, and that should work, or use ReplaceWith on the tag. Preprocess_html is called before the soup is parsed for links and images.