Links are underlined by default in most gallery templates. You can remove the underline on a link using a bit of html: