From 5da17152f3a6201fca34674f9801a29ee4c9b296 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 3 Feb 2006 20:36:50 +0000 Subject: Allow breaking on - and ., too. --- packages/spamd_db.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 .= "{$col}"; $column++; } -- cgit v1.2.3