mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03:00
Fixed Link HTML.
This commit is contained in:
parent
c4bb189d99
commit
64d3bb7e33
2
html.c
2
html.c
@ -1219,7 +1219,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local,
|
|||||||
|
|
||||||
if (!xs_is_null(url)) {
|
if (!xs_is_null(url)) {
|
||||||
xs *es1 = encode_html(url);
|
xs *es1 = encode_html(url);
|
||||||
xs *s1 = xs_fmt("<p><a href=\"%s\">%s</p>", url, es1);
|
xs *s1 = xs_fmt("<p><a href=\"%s\">%s</a></p>\n", url, es1);
|
||||||
s = xs_str_cat(s, s1);
|
s = xs_str_cat(s, s1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user