summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2023-11-29 13:43:33 +0100
committerGravatar default2023-11-29 13:43:33 +0100
commit6a37dca67a3866f644074b2059c1f9e49009bf02 (patch)
treedcdc4429d93ecb9eb55db41fb28d6319bb69a9e8 /html.c
parentDeleted redundant code. (diff)
downloadsnac2-6a37dca67a3866f644074b2059c1f9e49009bf02.tar.gz
snac2-6a37dca67a3866f644074b2059c1f9e49009bf02.tar.xz
snac2-6a37dca67a3866f644074b2059c1f9e49009bf02.zip
Added a title to an image shortname.
Diffstat (limited to 'html.c')
-rw-r--r--html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c
index 971af07..8a5d835 100644
--- a/html.c
+++ b/html.c
@@ -70,6 +70,7 @@ xs_str *replace_shortnames(xs_str *s, xs_list *tag)
70 xs_html *img = xs_html_sctag("img", 70 xs_html *img = xs_html_sctag("img",
71 xs_html_attr("loading", "lazy"), 71 xs_html_attr("loading", "lazy"),
72 xs_html_attr("src", u), 72 xs_html_attr("src", u),
73 xs_html_attr("title", n),
73 xs_html_attr("style", "height: 1em; vertical-align: middle;")); 74 xs_html_attr("style", "height: 1em; vertical-align: middle;"));
74 75
75 xs *s1 = xs_html_render(img); 76 xs *s1 = xs_html_render(img);