summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2011-03-27 11:46:57 (UTC)
committer Michael Krelin <hacker@klever.net>2011-08-16 10:42:18 (UTC)
commitcd78c8843191fa1c62cd0e226d96ed555d4b52e8 (patch) (unidiff)
tree8e3ab49986dac12276668644f0a8ab25763ceefb
parent654ebb55d4e436ad145061ffb87111cbfcd88565 (diff)
downloadcgit-cd78c8843191fa1c62cd0e226d96ed555d4b52e8.zip
cgit-cd78c8843191fa1c62cd0e226d96ed555d4b52e8.tar.gz
cgit-cd78c8843191fa1c62cd0e226d96ed555d4b52e8.tar.bz2
remove leading newline from the atom feed text contentHEADmaster
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ui-atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-atom.c b/ui-atom.c
index b218456..c14392e 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -59,13 +59,13 @@ void add_entry(struct commit *commit, char *host)
59 if (ctx.cfg.virtual_root) 59 if (ctx.cfg.virtual_root)
60 delim = '?'; 60 delim = '?';
61 htmlf("%cid=%s", delim, hex); 61 htmlf("%cid=%s", delim, hex);
62 html("'/>\n"); 62 html("'/>\n");
63 } 63 }
64 htmlf("<id>%s</id>\n", hex); 64 htmlf("<id>%s</id>\n", hex);
65 html("<content type='text'>\n"); 65 html("<content type='text'>");
66 html_txt(info->msg); 66 html_txt(info->msg);
67 html("</content>\n"); 67 html("</content>\n");
68 html("<content type='xhtml'>\n"); 68 html("<content type='xhtml'>\n");
69 html("<div xmlns='http://www.w3.org/1999/xhtml'>\n"); 69 html("<div xmlns='http://www.w3.org/1999/xhtml'>\n");
70 html("<pre>\n"); 70 html("<pre>\n");
71 html_txt(info->msg); 71 html_txt(info->msg);