mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
wikiheaders: trim whitespace at edges after wordwrapping.
This commit is contained in:
parent
0f1079456d
commit
8130950e92
1 changed files with 3 additions and 1 deletions
|
|
@ -108,7 +108,9 @@ sub wordwrap {
|
|||
$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…
Add table
Add a link
Reference in a new issue