diff options
| author | 2025-12-18 10:02:43 +0100 | |
|---|---|---|
| committer | 2025-12-18 10:02:43 +0100 | |
| commit | 9f3f8d237ac32f60c8471515dcb64095f1c4ccd6 (patch) | |
| tree | baa94f97e967c00b9bbd7106912175b6528b4ca3 /html.c | |
| parent | Strip surrounding colons in emoji pictures, if they are still there. (diff) | |
| download | snac2-9f3f8d237ac32f60c8471515dcb64095f1c4ccd6.tar.gz snac2-9f3f8d237ac32f60c8471515dcb64095f1c4ccd6.tar.xz snac2-9f3f8d237ac32f60c8471515dcb64095f1c4ccd6.zip | |
Fixed typo.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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, ""); |