snac2

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

commit 585adead38b5a8ec543cc6fcc990b0d1ef4d62ba
parent 34dbddb2b54060a9e9398447faf4399ba2484d41
Author: default <nobody@localhost>
Date:   Thu,  7 Nov 2024 22:01:00 +0100

Fixed some URLs that should not be proxied.

Diffstat:
Mhtml.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/html.c b/html.c @@ -2037,7 +2037,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, xs_html_add(content_attachments, xs_html_tag("p", xs_html_tag("a", - xs_html_attr("href", href), + xs_html_attr("href", o_href), xs_html_text(href)))); /* do not generate an Alt... */ @@ -2047,10 +2047,10 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, xs_html_add(content_attachments, xs_html_tag("p", xs_html_tag("a", - xs_html_attr("href", href), + xs_html_attr("href", o_href), xs_html_text(L("Attachment")), xs_html_text(": "), - xs_html_text(href)))); + xs_html_text(o_href)))); /* do not generate an Alt... */ name = NULL;