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 9f5ca1d..fd7e594 100644
--- a/html.c
+++ b/html.c
@@ -2802,10 +2802,12 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2802 xs *quoted_post = NULL; 2802 xs *quoted_post = NULL;
2803 2803
2804 if (valid_status(object_get(quoted_id, &quoted_post))) { 2804 if (valid_status(object_get(quoted_id, &quoted_post))) {
2805 xs *md5 = xs_md5_hex(quoted_id, strlen(quoted_id));
2806
2805 xs_html_add(snac_content, 2807 xs_html_add(snac_content,
2806 xs_html_tag("blockquote", 2808 xs_html_tag("blockquote",
2807 xs_html_attr("class", "snac-quoted-post"), 2809 xs_html_attr("class", "snac-quoted-post"),
2808 html_entry(user, quoted_post, 1, level + 1, NULL, 1))); 2810 html_entry(user, quoted_post, 1, level + 1, md5, 1)));
2809 } 2811 }
2810 else 2812 else
2811 if (user) 2813 if (user)