X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/b2a3d31e8839b53a623b4c99124c2c637d0e3cbb..eac1b675414722ae90df75abc727b2795bc096f0:/ui-atom.c diff --git a/ui-atom.c b/ui-atom.c index a6ea3ee..808b2d0 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -32,7 +32,7 @@ void add_entry(struct commit *commit, char *host) html_txt(info->author); html("\n"); } - if (info->author_email) { + if (info->author_email && !ctx.cfg.noplainemail) { mail = xstrdup(info->author_email); t = strchr(mail, '<'); if (t) @@ -52,7 +52,8 @@ void add_entry(struct commit *commit, char *host) cgit_print_date(info->author_date, FMT_ATOMDATE, ctx.cfg.local_time); html("\n"); if (host) { - html("\n");