diff options
| author | grunfink <grunfink@noreply.codeberg.org> | 2025-03-25 08:45:24 +0000 |
|---|---|---|
| committer | grunfink <grunfink@noreply.codeberg.org> | 2025-03-25 08:45:24 +0000 |
| commit | 741ea91e5d05e38042a5624e39ef0f090f438156 (patch) | |
| tree | 673bd77fbc8de36e7ccf908d9838652a385fc652 | |
| parent | 307aab92be9b9e0ea7676e05b1c752371ed0f7b9 (diff) | |
| parent | 128cc54608fc4ecbf8c9f93eb2c45eddd81a2fe6 (diff) | |
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
| -rw-r--r-- | html.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -100,6 +100,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); |