aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-12-18 10:02:43 +0100
committergrunfink <grunfink@comam.es>2025-12-18 10:02:43 +0100
commit9f3f8d237ac32f60c8471515dcb64095f1c4ccd6 (patch)
treebaa94f97e967c00b9bbd7106912175b6528b4ca3 /html.c
parentda6d275933e9dac513386ac2bc567d3568ab0217 (diff)
Fixed typo.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index e59e622..f1b004b 100644
--- a/html.c
+++ b/html.c
@@ -107,7 +107,7 @@ xs_str *_replace_shortnames(xs_str *s, const xs_list *tag, int ems,
if (!xs_is_string(mt))
mt = xs_mime_by_ext(u);
- xs *act = act_o ? xs_fmt("%s\n%s", n, act) : xs_fmt("%s", n);
+ xs *act = act_o ? xs_fmt("%s\n%s", n, act_o) : xs_fmt("%s", n);
if (strcmp(mt, "image/svg+xml") == 0 && !xs_is_true(xs_dict_get(srv_config, "enable_svg")))
s = xs_replace_i(s, n, "");