diff options
| author | 2022-11-20 10:00:24 +0100 | |
|---|---|---|
| committer | 2022-11-20 10:00:24 +0100 | |
| commit | d253429fe7d6596533166499d110b6eea4a0af89 (patch) | |
| tree | 6285c65ca25ee23a7e17ea122caca26c75c6d256 /html.c | |
| parent | More RSS tweaks. (diff) | |
| download | snac2-d253429fe7d6596533166499d110b6eea4a0af89.tar.gz snac2-d253429fe7d6596533166499d110b6eea4a0af89.tar.xz snac2-d253429fe7d6596533166499d110b6eea4a0af89.zip | |
Deleted the link at the end of each RSS entry.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 0 insertions, 4 deletions
| @@ -1132,10 +1132,6 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char * | |||
| 1132 | xs *title = xs_str_new(NULL); | 1132 | xs *title = xs_str_new(NULL); |
| 1133 | int i; | 1133 | int i; |
| 1134 | 1134 | ||
| 1135 | /* add the post link */ | ||
| 1136 | xs *l = xs_fmt("<p><a href=\"%s\">%s</a><p>", id, id); | ||
| 1137 | content = xs_str_cat(content, l); | ||
| 1138 | |||
| 1139 | /* escape tags */ | 1135 | /* escape tags */ |
| 1140 | content = xs_replace_i(content, "<", "<"); | 1136 | content = xs_replace_i(content, "<", "<"); |
| 1141 | content = xs_replace_i(content, ">", ">"); | 1137 | content = xs_replace_i(content, ">", ">"); |