mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 17:23:38 +00:00
Also break the og:description in the first period in the bio.
This commit is contained in:
parent
983f137108
commit
1c6cc98f07
1 changed files with 1 additions and 1 deletions
2
html.c
2
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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue