Ver Fonte

Also trim , at the end of http links.

default há 1 ano atrás
pai
commit
067747cc7c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      format.c

+ 1 - 1
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);