commit 128cc54

green  ·  2025-03-22 18:37:23 +0000 UTC
parent d68d2f5
Added tittle text and class to custom emojis
1 files changed,  +2, -0
M html.c
M html.c
+2, -0
1@@ -93,6 +93,8 @@ xs_str *replace_shortnames(xs_str *s, const xs_list *tag, int ems, const char *p
2                                 xs_html_attr("loading", "lazy"),
3                                 xs_html_attr("src", url),
4                                 xs_html_attr("alt", n),
5+                                xs_html_attr("title", n),
6+                                xs_html_attr("class", "snac-emoji"),
7                                 xs_html_attr("style", style));
8 
9                             xs *s1 = xs_html_render(img);