snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit d253429fe7d6596533166499d110b6eea4a0af89
parent ecff88922f62634bbe6e466f30153ca119ec5061
Author: default <nobody@localhost>
Date:   Sun, 20 Nov 2022 10:00:24 +0100

Deleted the link at the end of each RSS entry.

Diffstat:
Mhtml.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/html.c b/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); 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 */ content = xs_replace_i(content, "<", "&lt;"); content = xs_replace_i(content, ">", "&gt;");