diff options
| author | 2025-03-22 19:37:23 +0100 | |
|---|---|---|
| committer | 2025-03-22 19:37:23 +0100 | |
| commit | 128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6 (patch) | |
| tree | 56dcd0c1e309f9db65919475d64b420a3fc44b47 | |
| parent | Merge pull request 'added missing czech translations' (#332) from pmjv/snac2:... (diff) | |
| download | penes-snac2-128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6.tar.gz penes-snac2-128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6.tar.xz penes-snac2-128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6.zip | |
Added tittle text and class to custom emojis
| -rw-r--r-- | html.c | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -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); |