diff options
author | default <nobody@localhost> | 2024-01-14 14:25:51 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-01-14 14:25:51 +0100 |
commit | 33a0386a1ee4aad045260b7dd36c6d4d5dea087c (patch) | |
tree | 21a7f7501609689e77aa0bc685c73c206e6c62be /format.c | |
parent | 7ca08aebd245dc7116113bae97e31881fcc09eb0 (diff) |
In posts, fixed bad link urls if written between parentheses.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ static xs_str *format_line(const char *line, xs_list **attach) else if (xs_startswith(v, "http")) { xs *u = xs_replace(v, "#", "#"); - xs *v2 = xs_strip_chars_i(xs_dup(u), "."); + xs *v2 = xs_strip_chars_i(xs_dup(u), ".)"); const char *mime = xs_mime_by_ext(v2); |