Added a title to an image shortname.

This commit is contained in:
default 2023-11-29 13:43:33 +01:00
parent 5b270b903c
commit 6a37dca67a

1
html.c
View file

@ -70,6 +70,7 @@ xs_str *replace_shortnames(xs_str *s, xs_list *tag)
xs_html *img = xs_html_sctag("img",
xs_html_attr("loading", "lazy"),
xs_html_attr("src", u),
xs_html_attr("title", n),
xs_html_attr("style", "height: 1em; vertical-align: middle;"));
xs *s1 = xs_html_render(img);