Make sure the other URL related callback also checks for url

This means that link styles only get applied to NSURL compatible links. This might be problematic if there are cases where HTML valid links are not handled by NSURL, generally speaking should work with most links.