summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-06-26 16:00:23 +0200
committerdefault <nobody@localhost>2023-06-26 16:00:23 +0200
commit1c6cc98f076b03233ab4bd43c32705c71de5e811 (patch)
treed6b3e35475672309b4c546a75ae483ead8941500 /html.c
parent983f1371081e73e02ad5a7b7e333973f96b6b215 (diff)
Also break the og:description in the first period in the bio.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 80126b0..ccebf2f 100644
--- 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';