On some themes, or possibly versions of WordPress?, the priority parameter stops the filter from working.
Simply removing the priority parameter for those affected makes it work again.
How can I make a universal solution so that I don't have to keep doing that? When possible, the priority should be set very high to make sure it's one of the last things processed.
add_filter('the_content', 'my_filter', 9999);
Thanks!