It would be great to have some interface similar to attribute_filter but which works on the whole node.
Or better yet - expose the whole parsed dom so it could be post-analyzed and modified as desired.
An example use case: we want to censor some specific domain in links and replace the occurrences with "[censored]".
With current interfaces it's impossible. Our only solution is to parse the cleaned up html again and apply our filters.