commit 6a37dca
default
·
2023-11-29 12:43:33 +0000 UTC
parent 5b270b9
Added a title to an image shortname.
1 files changed,
+1,
-0
M
html.c
M
html.c
+1,
-0
1@@ -70,6 +70,7 @@ xs_str *replace_shortnames(xs_str *s, xs_list *tag)
2 xs_html *img = xs_html_sctag("img",
3 xs_html_attr("loading", "lazy"),
4 xs_html_attr("src", u),
5+ xs_html_attr("title", n),
6 xs_html_attr("style", "height: 1em; vertical-align: middle;"));
7
8 xs *s1 = xs_html_render(img);