commit 1c6cc98f076b03233ab4bd43c32705c71de5e811
parent 983f1371081e73e02ad5a7b7e333973f96b6b215
Author: default <nobody@localhost>
Date: Mon, 26 Jun 2023 16:00:23 +0200
Also break the og:description in the first period in the bio.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html.c b/html.c
@@ -264,7 +264,7 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
int n;
/* 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] = '\0';