While it doesn't yet actually modify the href, here is the filtering mechanism to ensure that it only affects the type of elements we are interested in. Fixes #1.