commit 1c6cc98

default  ·  2023-06-26 14:00:23 +0000 UTC
parent 983f137
Also break the og:description in the first period in the bio.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -264,7 +264,7 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
2         int n;
3 
4         /* shorten the bio */
5-        for (n = 0; s_bio[n] && s_bio[n] != '&' &&
6+        for (n = 0; s_bio[n] && s_bio[n] != '&' && s_bio[n] != '.' &&
7                     s_bio[n] != '\r' && s_bio[n] != '\n' && n < 128; n++);
8         s_bio[n] = '\0';
9