commit 741ea91
Merge pull request 'Added tittle text and class to custom emojis (issue #330)' (#333) from dandelions/snac2:issue_330 into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/333
1 files changed,
+2,
-0
M
html.c
M
html.c
+2,
-0
1@@ -100,6 +100,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);