diff options
| author | 2023-11-29 13:43:33 +0100 | |
|---|---|---|
| committer | 2023-11-29 13:43:33 +0100 | |
| commit | 6a37dca67a3866f644074b2059c1f9e49009bf02 (patch) | |
| tree | dcdc4429d93ecb9eb55db41fb28d6319bb69a9e8 /html.c | |
| parent | Deleted redundant code. (diff) | |
| download | snac2-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -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); |