2
0
mirror of https://git.zx2c4.com/cgit synced 2025-08-31 06:15:08 +00:00

Introduce noplainemail option to hide email adresses from spambots

Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
This commit is contained in:
Martin Szulecki
2009-08-07 14:05:17 +02:00
parent 286a905842
commit 2f56e390f0
7 changed files with 22 additions and 7 deletions

View File

@@ -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)