summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2025-03-17 08:18:41 +0100
committerGravatar default2025-03-17 08:18:41 +0100
commit49134582055a174951b23314170ec42c33796325 (patch)
tree72337c4455df8d856d516c33797e87038df28fde /html.c
parentMerge pull request 'Translation for pt_BR.po new strings 🇧🇷🇵🇹' (#... (diff)
downloadsnac2-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c
index a90a51f..a56b523 100644
--- a/html.c
+++ b/html.c
@@ -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);