snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6
parent d68d2f51df95dde970fbc8972c49276c52d5a7d6
Author: green <dandelions@disroot.org>
Date:   Sat, 22 Mar 2025 19:37:23 +0100

Added tittle text and class to custom emojis

Diffstat:
Mhtml.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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);