summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-12-18 10:02:43 +0100
committerGravatar grunfink2025-12-18 10:02:43 +0100
commit9f3f8d237ac32f60c8471515dcb64095f1c4ccd6 (patch)
treebaa94f97e967c00b9bbd7106912175b6528b4ca3 /html.c
parentStrip surrounding colons in emoji pictures, if they are still there. (diff)
downloadsnac2-9f3f8d237ac32f60c8471515dcb64095f1c4ccd6.tar.gz
snac2-9f3f8d237ac32f60c8471515dcb64095f1c4ccd6.tar.xz
snac2-9f3f8d237ac32f60c8471515dcb64095f1c4ccd6.zip
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,
107 if (!xs_is_string(mt)) 107 if (!xs_is_string(mt))
108 mt = xs_mime_by_ext(u); 108 mt = xs_mime_by_ext(u);
109 109
110 xs *act = act_o ? xs_fmt("%s\n%s", n, act) : xs_fmt("%s", n); 110 xs *act = act_o ? xs_fmt("%s\n%s", n, act_o) : xs_fmt("%s", n);
111 111
112 if (strcmp(mt, "image/svg+xml") == 0 && !xs_is_true(xs_dict_get(srv_config, "enable_svg"))) 112 if (strcmp(mt, "image/svg+xml") == 0 && !xs_is_true(xs_dict_get(srv_config, "enable_svg")))
113 s = xs_replace_i(s, n, ""); 113 s = xs_replace_i(s, n, "");