mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Fixed Link HTML.
This commit is contained in:
parent
c4bb189d99
commit
64d3bb7e33
1 changed files with 1 additions and 1 deletions
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)) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue