diff options
| author | 2023-06-26 16:00:23 +0200 | |
|---|---|---|
| committer | 2023-06-26 16:00:23 +0200 | |
| commit | 1c6cc98f076b03233ab4bd43c32705c71de5e811 (patch) | |
| tree | d6b3e35475672309b4c546a75ae483ead8941500 | |
| parent | Added autocomplete=off to all forms. (diff) | |
| download | penes-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | ||