aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
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
xs_html *img = xs_html_sctag("img",
xs_html_attr("loading", "lazy"),
xs_html_attr("src", url),
+ xs_html_attr("alt", n),
xs_html_attr("style", style));
xs *s1 = xs_html_render(img);