Browse Source

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

default 1 year ago
parent
commit
1c6cc98f07
1 changed files with 1 additions and 1 deletions
  1. 1 1
      html.c

+ 1 - 1
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';