snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 6a37dca67a3866f644074b2059c1f9e49009bf02
parent 5b270b903c155843966443e77ed5ed747388975e
Author: default <nobody@localhost>
Date:   Wed, 29 Nov 2023 13:43:33 +0100

Added a title to an image shortname.

Diffstat:
Mhtml.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/html.c b/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);