commit 585adea

default  ·  2024-11-07 21:01:00 +0000 UTC
parent 34dbddb
Fixed some URLs that should not be proxied.
1 files changed,  +3, -3
M html.c
M html.c
+3, -3
 1@@ -2037,7 +2037,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
 2                 xs_html_add(content_attachments,
 3                     xs_html_tag("p",
 4                         xs_html_tag("a",
 5-                            xs_html_attr("href", href),
 6+                            xs_html_attr("href", o_href),
 7                             xs_html_text(href))));
 8 
 9                 /* do not generate an Alt... */
10@@ -2047,10 +2047,10 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
11                 xs_html_add(content_attachments,
12                     xs_html_tag("p",
13                         xs_html_tag("a",
14-                            xs_html_attr("href", href),
15+                            xs_html_attr("href", o_href),
16                             xs_html_text(L("Attachment")),
17                             xs_html_text(": "),
18-                            xs_html_text(href))));
19+                            xs_html_text(o_href))));
20 
21                 /* do not generate an Alt... */
22                 name = NULL;