diff options
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, ""); |