using a proper function prototype instead of IMP allows recognizing links and images also in the presence of XcodeColors.