diff options
author | Martin Szulecki <opensuse@sukimashita.com> | 2009-08-07 21:05:17 (JST) |
---|---|---|
committer | Martin Szulecki <opensuse@sukimashita.com> | 2009-08-08 21:23:28 (JST) |
commit | 2f56e390f04fe6975b75e512c1436ef173e4aafe (patch) | |
tree | 4e187a5cf039a39a1908623b97e0676c6e7cb756 /ui-atom.c | |
parent | 286a905842dc0bec6d21a614ec4a97c5f19d5bc4 (diff) | |
download | cgit-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |