snac2

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

commit fcf2747308c65c3061028c136599b25ed9aa77ae
parent a16600e3307050619d4866f95ebd0fb43034005c
Author: default <nobody@localhost>
Date:   Thu, 20 Oct 2022 11:14:30 +0200

Links in created Notes now include a target=_blank.

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

diff --git a/format.c b/format.c @@ -73,7 +73,7 @@ d_char *not_really_markdown(char *content, d_char **f_content) } else if (xs_startswith(v, "http")) { - xs *s1 = xs_fmt("<a href=\"%s\">%s</a>", v, v); + xs *s1 = xs_fmt("<a href=\"%s\" target=\"_blank\">%s</a>", v, v); wrk = xs_str_cat(wrk, s1); } else