From d3e0f7a84be573ee28ff1dd6ceb58677e653e178 Mon Sep 17 00:00:00 2001 From: Yonle Date: Tue, 18 Jul 2023 21:16:22 +0700 Subject: [PATCH] html.c: custom emoji : Resize height to 2em, and put veritcal-align to middle. Signed-off-by: Yonle --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html.c b/html.c index 72aa782..c7feff0 100644 --- a/html.c +++ b/html.c @@ -66,7 +66,7 @@ xs_str *actor_name(xs_dict *actor) if (n && i) { char *u = xs_dict_get(i, "url"); - xs *img = xs_fmt("", u); + xs *img = xs_fmt("", u); name = xs_replace_i(name, n, img); } @@ -1037,7 +1037,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local, if (n && i) { char *u = xs_dict_get(i, "url"); - xs *img = xs_fmt("", u, n); c = xs_replace_i(c, n, img);