summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2023-06-26 16:00:23 +0200
committerGravatar default2023-06-26 16:00:23 +0200
commit1c6cc98f076b03233ab4bd43c32705c71de5e811 (patch)
treed6b3e35475672309b4c546a75ae483ead8941500
parentAdded autocomplete=off to all forms. (diff)
downloadpenes-snac2-1c6cc98f076b03233ab4bd43c32705c71de5e811.tar.gz
penes-snac2-1c6cc98f076b03233ab4bd43c32705c71de5e811.tar.xz
penes-snac2-1c6cc98f076b03233ab4bd43c32705c71de5e811.zip
Also break the og:description in the first period in the bio.
Diffstat (limited to '')
-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)
264 int n; 264 int n;
265 265
266 /* shorten the bio */ 266 /* shorten the bio */
267 for (n = 0; s_bio[n] && s_bio[n] != '&' && 267 for (n = 0; s_bio[n] && s_bio[n] != '&' && s_bio[n] != '.' &&
268 s_bio[n] != '\r' && s_bio[n] != '\n' && n < 128; n++); 268 s_bio[n] != '\r' && s_bio[n] != '\n' && n < 128; n++);
269 s_bio[n] = '\0'; 269 s_bio[n] = '\0';
270 270