more fiddling with wordwrap
This commit is contained in:
parent
962e4cc67f
commit
2a0ef93fb2
@ -724,8 +724,10 @@ static char *www_wordwrap(char *content, int cutoff) {
|
||||
if (content[i+1] == ' ') {
|
||||
content[at++] = '\r';
|
||||
} else {
|
||||
if (content[at-1] != '\r') {
|
||||
content[at++] = ' ';
|
||||
}
|
||||
}
|
||||
} else if (content[i] == '\r' && content[i+1] == '\r') {
|
||||
content[at++] = '\r';
|
||||
content[at++] = '\r';
|
||||
|
Reference in New Issue
Block a user