String link = cfg.getString("commentlink", name, "link");
String html = cfg.getString("commentlink", name, "html");
if (html == null || html.isEmpty()) {
html = "<a href=\"" + link + "\">$&</a>";
}
links.add(new RegexFindReplace(match, html));
}
config.setCommentLinks(links);
return config;
}