From 33a0386a1ee4aad045260b7dd36c6d4d5dea087c Mon Sep 17 00:00:00 2001 From: default Date: Sun, 14 Jan 2024 14:25:51 +0100 Subject: [PATCH] In posts, fixed bad link urls if written between parentheses. --- format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.c b/format.c index 485a26a..33261a9 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);