From: Matthias Braun <[email protected]>

---
 ui-atom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui-atom.c b/ui-atom.c
index 6a6a98b..fdc5cb3 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -125,6 +125,7 @@ void cgit_print_atom(char *tip, char *path, int max_count, 
int enable_atom_diff)
        ctx.page.mimetype = "text/xml";
        ctx.page.charset = "utf-8";
        cgit_print_http_headers();
+       html("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
        html("<feed xmlns='http://www.w3.org/2005/Atom'>\n");
        html("<title>");
        html_txt(ctx.repo->name);
-- 
1.9.1

_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to