mirror of https://github.com/encounter/SDL.git
wikiheaders: trim whitespace at edges after wordwrapping.
This commit is contained in:
parent
0f1079456d
commit
8130950e92
|
@ -108,7 +108,9 @@ sub wordwrap {
|
||||||
$retval .= $2; # don't wrap it.
|
$retval .= $2; # don't wrap it.
|
||||||
}
|
}
|
||||||
|
|
||||||
return $retval . wordwrap_paragraphs($str); # wrap what's left.
|
$retval .= wordwrap_paragraphs($str); # wrap what's left.
|
||||||
|
$retval =~ s/\n+$//;
|
||||||
|
return $retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue