aboutsummaryrefslogtreecommitdiffstats
path: root/ui-atom.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki <opensuse@sukimashita.com>2009-08-07 21:05:17 (JST)
committerGravatar Martin Szulecki <opensuse@sukimashita.com>2009-08-08 21:23:28 (JST)
commit2f56e390f04fe6975b75e512c1436ef173e4aafe (patch)
tree4e187a5cf039a39a1908623b97e0676c6e7cb756 /ui-atom.c
parent286a905842dc0bec6d21a614ec4a97c5f19d5bc4 (diff)
downloadcgit-2f56e390f04fe6975b75e512c1436ef173e4aafe.zip
cgit-2f56e390f04fe6975b75e512c1436ef173e4aafe.tar.gz
Introduce noplainemail option to hide email adresses from spambots
Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
Diffstat (limited to 'ui-atom.c')
-rw-r--r--ui-atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-atom.c b/ui-atom.c
index e5c31d9..808b2d0 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -32,7 +32,7 @@ void add_entry(struct commit *commit, char *host)
32 html_txt(info->author); 32 html_txt(info->author);
33 html("</name>\n"); 33 html("</name>\n");
34 } 34 }
35 if (info->author_email) { 35 if (info->author_email && !ctx.cfg.noplainemail) {
36 mail = xstrdup(info->author_email); 36 mail = xstrdup(info->author_email);
37 t = strchr(mail, '<'); 37 t = strchr(mail, '<');
38 if (t) 38 if (t)