projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
runs message through sqWordWrap before putting it in compose area on reply
[squirrelmail.git]
/
functions
/
strings.php
diff --git
a/functions/strings.php
b/functions/strings.php
index 82d30580926e4f7a74d427f13a1e2c089e3fa3bf..fa1d84f90ea02916d803a9203befb07fb7ae23be 100644
(file)
--- a/
functions/strings.php
+++ b/
functions/strings.php
@@
-51,6
+51,7
@@
function sqWordWrap(&$line, $wrap) {
preg_match("/^([\s>]*)([^\s>].*)$/", $line, $regs);
$beginning_spaces = $regs[1];
+ $regs[2] .= "\n";
$words = explode(" ", $regs[2]);
$i = 0;