aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreen <dandelions@disroot.org>2025-03-22 19:37:23 +0100
committergreen <dandelions@disroot.org>2025-03-22 19:37:23 +0100
commit128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6 (patch)
tree56dcd0c1e309f9db65919475d64b420a3fc44b47
parentd68d2f51df95dde970fbc8972c49276c52d5a7d6 (diff)
Added tittle text and class to custom emojis
-rw-r--r--html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/html.c b/html.c
index 78a9854..3d8f0e1 100644
--- a/html.c
+++ b/html.c
@@ -93,6 +93,8 @@ xs_str *replace_shortnames(xs_str *s, const xs_list *tag, int ems, const char *p
xs_html_attr("loading", "lazy"),
xs_html_attr("src", url),
xs_html_attr("alt", n),
+ xs_html_attr("title", n),
+ xs_html_attr("class", "snac-emoji"),
xs_html_attr("style", style));
xs *s1 = xs_html_render(img);