diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-03 20:36:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-03 20:36:50 +0000 |
commit | 5da17152f3a6201fca34674f9801a29ee4c9b296 (patch) | |
tree | db140508b0f8088e6ff6db96b66e16b3442ee012 | |
parent | e04a2bd3a1c45a26f24200335b5bbdf061198baa (diff) | |
download | pfsense-packages-5da17152f3a6201fca34674f9801a29ee4c9b296.tar.gz pfsense-packages-5da17152f3a6201fca34674f9801a29ee4c9b296.tar.bz2 pfsense-packages-5da17152f3a6201fca34674f9801a29ee4c9b296.zip |
Allow breaking on - and ., too.
-rw-r--r-- | packages/spamd_db.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php index 7d13d07f..ffa42ca9 100644 --- a/packages/spamd_db.php +++ b/packages/spamd_db.php @@ -213,8 +213,11 @@ if (typeof getURL == 'undefined') { /* if string is really long allow it to be wrapped by * replacing @ with space@ */ - if(strlen($col)>40) + if(strlen($col)>40) { $col = str_replace("@"," @",$col); + $col = str_replace("-"," -",$col); + $col = str_replace("."," .",$col); + } $rowtext .= "<td class=\"listr\">{$col}</td>"; $column++; } |