summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/html.c b/html.c
index bd9a176..107542a 100644
--- a/html.c
+++ b/html.c
@@ -81,7 +81,7 @@ xs_str *actor_name(xs_dict *actor)
81xs_str *html_actor_icon(xs_str *os, char *actor, 81xs_str *html_actor_icon(xs_str *os, char *actor,
82 const char *date, const char *udate, const char *url, int priv) 82 const char *date, const char *udate, const char *url, int priv)
83{ 83{
84 xs *s = xs_str_new(NULL); 84 xs *s = xs_str_new("<div class=\"snac-post-header\">\n");
85 85
86 xs *avatar = NULL; 86 xs *avatar = NULL;
87 char *v; 87 char *v;
@@ -169,6 +169,8 @@ xs_str *html_actor_icon(xs_str *os, char *actor,
169 s = xs_str_cat(s, s1); 169 s = xs_str_cat(s, s1);
170 } 170 }
171 171
172 s = xs_str_cat(s, "</div>\n");
173
172 return xs_str_cat(os, s); 174 return xs_str_cat(os, s);
173} 175}
174 176