diff options
| author | 2025-03-17 08:18:41 +0100 | |
|---|---|---|
| committer | 2025-03-17 08:18:41 +0100 | |
| commit | 49134582055a174951b23314170ec42c33796325 (patch) | |
| tree | 72337c4455df8d856d516c33797e87038df28fde /html.c | |
| parent | Merge pull request 'Translation for pt_BR.po new strings 🇧🇷🇵🇹' (#... (diff) | |
| download | snac2-49134582055a174951b23314170ec42c33796325.tar.gz snac2-49134582055a174951b23314170ec42c33796325.tar.xz snac2-49134582055a174951b23314170ec42c33796325.zip | |
mastoapi: added support for /api/v1/custom_emojis (contributed by violette).
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -92,6 +92,7 @@ xs_str *replace_shortnames(xs_str *s, const xs_list *tag, int ems, const char *p | |||
| 92 | xs_html *img = xs_html_sctag("img", | 92 | xs_html *img = xs_html_sctag("img", |
| 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("style", style)); | 96 | xs_html_attr("style", style)); |
| 96 | 97 | ||
| 97 | xs *s1 = xs_html_render(img); | 98 | xs *s1 = xs_html_render(img); |