summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar green2025-03-22 19:37:23 +0100
committerGravatar green2025-03-22 19:37:23 +0100
commit128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6 (patch)
tree56dcd0c1e309f9db65919475d64b420a3fc44b47 /html.c
parentMerge pull request 'added missing czech translations' (#332) from pmjv/snac2:... (diff)
downloadpenes-snac2-128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6.tar.gz
penes-snac2-128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6.tar.xz
penes-snac2-128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6.zip
Added tittle text and class to custom emojis
Diffstat (limited to 'html.c')
-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
93 xs_html_attr("loading", "lazy"), 93 xs_html_attr("loading", "lazy"),
94 xs_html_attr("src", url), 94 xs_html_attr("src", url),
95 xs_html_attr("alt", n), 95 xs_html_attr("alt", n),
96 xs_html_attr("title", n),
97 xs_html_attr("class", "snac-emoji"),
96 xs_html_attr("style", style)); 98 xs_html_attr("style", style));
97 99
98 xs *s1 = xs_html_render(img); 100 xs *s1 = xs_html_render(img);