Diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/ui-atom.c | 4 |
1 file changed, 2 insertions, 2 deletions
diff --git a/source/ui-atom.c b/source/ui-atom.c index 065d5cd..bf58e34 100644 --- a/source/ui-atom.c +++ b/source/ui-atom.c @@ -218,10 +218,10 @@ void cgit_print_atom(char *tip, const char *path, int max_count) html("<id>"); xml_txt(idbuf.buf); html("</id>\n"); - strbuf_release(&idbuf); html("<link rel='self' href='"); - html_attrf("%s%s%s", cgit_httpscheme(), host, fullurl); + html_attr(idbuf.buf); html("'/>\n"); + strbuf_release(&idbuf); html("<link rel='alternate' type='text/html' href='"); html_attrf("%s%s%s", cgit_httpscheme(), host, repourl); html("'/>\n"); |
