snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 067747cc7cbfce5fd9f9ce2510a9d311f05b504a
parent 336f731a51b43c812c915191b3d536462c6e1115
Author: default <nobody@localhost>
Date:   Tue, 27 Feb 2024 13:21:59 +0100

Also trim , at the end of http links.

Diffstat:
Mformat.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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, "#", "&#35;"); - 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);