snac2

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

commit 33a0386a1ee4aad045260b7dd36c6d4d5dea087c
parent 7ca08aebd245dc7116113bae97e31881fcc09eb0
Author: default <nobody@localhost>
Date:   Sun, 14 Jan 2024 14:25:51 +0100

In posts, fixed bad link urls if written between parentheses.

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