Priority between keep_only_tags and remove_tags
Hi,
I'm new to the recipe API and I'm trying to write a simple recipe. Suppose that I have an element i want to keep and I add it to keep_only_tags. However, the node is a descendant of some content i want to filter out, which I add to remove_tags. Will the node from keep_only_tags appear in the processed page, or will it be lost while filtering out its parent? I don't see it in the processed page, so I just want to make sure this is intended and I don't have a bug in the code.
|