OK, now I know I'm not going nuts. I turned on 'allow html' in the custom fields for the category and that still didn't parse the links. So then I added the output of $catopts['allow_custom_html'] to the output of adv_gallery_showimage_custombits and it shows it being true but the links still weren't parsed.