aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/spamd_db.php5
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++;
}