Introduce noplainemail option to hide email adresses from spambots

Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
这个提交包含在:
Martin Szulecki
2009-08-07 14:05:17 +02:00
父节点 286a905842
当前提交 2f56e390f0
共有 7 个文件被更改,包括 22 次插入7 次删除

查看文件

@ -32,7 +32,7 @@ void add_entry(struct commit *commit, char *host)
html_txt(info->author);
html("</name>\n");
}
if (info->author_email) {
if (info->author_email && !ctx.cfg.noplainemail) {
mail = xstrdup(info->author_email);
t = strchr(mail, '<');
if (t)