diff options
author | default <nobody@localhost> | 2023-11-29 13:43:33 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-11-29 13:43:33 +0100 |
commit | 6a37dca67a3866f644074b2059c1f9e49009bf02 (patch) | |
tree | dcdc4429d93ecb9eb55db41fb28d6319bb69a9e8 | |
parent | 5b270b903c155843966443e77ed5ed747388975e (diff) |
Added a title to an image shortname.
-rw-r--r-- | html.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |