commit 067747c

default  ·  2024-02-27 12:21:59 +0000 UTC
parent 336f731
Also trim , at the end of http links.
1 files changed,  +1, -1
+1, -1
1@@ -72,7 +72,7 @@ static xs_str *format_line(const char *line, xs_list **attach)
2             else
3             if (xs_startswith(v, "http")) {
4                 xs *u  = xs_replace(v, "#", "#");
5-                xs *v2 = xs_strip_chars_i(xs_dup(u), ".)");
6+                xs *v2 = xs_strip_chars_i(xs_dup(u), ".,)");
7 
8                 const char *mime = xs_mime_by_ext(v2);
9