mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 16:53:37 +00:00
More RSS cropping.
This commit is contained in:
parent
c827b2641b
commit
240494c795
1 changed files with 1 additions and 1 deletions
2
html.c
2
html.c
|
@ -1124,7 +1124,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char *
|
|||
content = xs_replace_i(content, ">", ">");
|
||||
|
||||
/* cut title in the first tag start */
|
||||
if ((v = strchr(title, '<')) != NULL)
|
||||
if ((v = strchr(title, '&')) || (v = strchr(title, '<')))
|
||||
*v = '\0';
|
||||
|
||||
if (strlen(title) > 40) {
|
||||
|
|
Loading…
Reference in a new issue