Don't wrap quoted lines at all

release-0.6
thomascube 15 years ago
parent 6b6f2e83de
commit 8ad5c89f22

@ -259,7 +259,12 @@ function rc_wordwrap($string, $width=75, $break="\n", $cut=false)
$para = explode($break, $string);
$string = '';
while (count($para)) {
$list = explode(' ', array_shift($para));
$line = array_shift($para);
if ($line[0] == '>') {
$string .= $line.$break;
continue;
}
$list = explode(' ', $line);
$len = 0;
while (count($list)) {
$line = array_shift($list);

Loading…
Cancel
Save