Use a filter on the protocol instead of the markup