mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03:00
Deleted the link at the end of each RSS entry.
This commit is contained in:
parent
ecff88922f
commit
d253429fe7
4
html.c
4
html.c
@ -1132,10 +1132,6 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char *
|
|||||||
xs *title = xs_str_new(NULL);
|
xs *title = xs_str_new(NULL);
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* add the post link */
|
|
||||||
xs *l = xs_fmt("<p><a href=\"%s\">%s</a><p>", id, id);
|
|
||||||
content = xs_str_cat(content, l);
|
|
||||||
|
|
||||||
/* escape tags */
|
/* escape tags */
|
||||||
content = xs_replace_i(content, "<", "<");
|
content = xs_replace_i(content, "<", "<");
|
||||||
content = xs_replace_i(content, ">", ">");
|
content = xs_replace_i(content, ">", ">");
|
||||||
|
Loading…
Reference in New Issue
Block a user