From 067747cc7cbfce5fd9f9ce2510a9d311f05b504a Mon Sep 17 00:00:00 2001 From: default Date: Tue, 27 Feb 2024 13:21:59 +0100 Subject: [PATCH] Also trim , at the end of http links. --- format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.c b/format.c index 33261a9..9944822 100644 --- a/format.c +++ b/format.c @@ -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);