mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Added a title to an image shortname.
This commit is contained in:
parent
5b270b903c
commit
6a37dca67a
1 changed files with 1 additions and 0 deletions
1
html.c
1
html.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue