Export 'sanitaryURI'

I need to sanitise the URIs of anchor tags and it would be helpful if I could reuse this predicate.