Modified: trunk/felamimail/inc/class.bofelamimail.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/felamimail/inc/class.bofelamimail.inc.php?rev=28268&r1=28267&r2=28268&view=diff ==============================================================================
--- trunk/felamimail/inc/class.bofelamimail.inc.php (original)
+++ trunk/felamimail/inc/class.bofelamimail.inc.php Thu Nov 5 12:48:24 2009
@@ -2614,7 +2614,8 @@
foreach ($s as $k=>$v) {
$cnt = strlen($v);
// only break long words within the wordboundaries,
- if($cnt > $allowedLength) {
+ // but it may destroy links, so we check for href and dont it if we find one
+ if($cnt > $allowedLength && stripos($v,'href=')===false) {
$v=wordwrap($v, $allowedLength, $cut, true);
}
// the rest should be broken at the start of the new word that exceeds the limit
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________
eGroupWare-cvs mailing list
eGroupWare-cvs@... https://lists.sourceforge.net/lists/listinfo/egroupware-cvs