Also break the og:description in the first period in the bio.

This commit is contained in:
default 2023-06-26 16:00:23 +02:00
parent 983f137108
commit 1c6cc98f07

2
html.c
View file

@ -264,7 +264,7 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
int n; int n;
/* shorten the bio */ /* shorten the bio */
for (n = 0; s_bio[n] && s_bio[n] != '&' && for (n = 0; s_bio[n] && s_bio[n] != '&' && s_bio[n] != '.' &&
s_bio[n] != '\r' && s_bio[n] != '\n' && n < 128; n++); s_bio[n] != '\r' && s_bio[n] != '\n' && n < 128; n++);
s_bio[n] = '\0'; s_bio[n] = '\0';