Browse Source

Fixed ugly link label in 'Link' attachments when proxy media is on.

grunfink 3 weeks ago
parent
commit
5107778280
1 changed files with 1 additions and 1 deletions
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -3135,7 +3135,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
                     xs_html_tag("p",
                     xs_html_tag("p",
                         xs_html_tag("a",
                         xs_html_tag("a",
                             xs_html_attr("href", o_href),
                             xs_html_attr("href", o_href),
-                            xs_html_text(href))));
+                            xs_html_text(o_href))));
 
 
                 /* do not generate an Alt... */
                 /* do not generate an Alt... */
                 name = NULL;
                 name = NULL;