more messing with word wrap
This commit is contained in:
parent
0ebdbe71b4
commit
1ec2bc02bd
@ -791,6 +791,10 @@ static char *www_wordwrap(char *content, int cutoff) {
|
|||||||
if (at > 0 && content[at-1] != '\r' && content[at-1] != ' ' && cutoff - line_count < z) {
|
if (at > 0 && content[at-1] != '\r' && content[at-1] != ' ' && cutoff - line_count < z) {
|
||||||
content[at++] = ' ';
|
content[at++] = ' ';
|
||||||
line_count++;
|
line_count++;
|
||||||
|
} else {
|
||||||
|
content[at++] = '\r';
|
||||||
|
line_count = 0;
|
||||||
|
quote_line = 0;
|
||||||
}
|
}
|
||||||
} else if (quote_line == 1) {
|
} else if (quote_line == 1) {
|
||||||
content[at++] = '\r';
|
content[at++] = '\r';
|
||||||
|
Reference in New Issue
Block a user