Modified: trunk/phpgwapi/inc/class.html.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/phpgwapi/inc/class.html.inc.php?rev=28264&r1=28263&r2=28264&view=diff ==============================================================================
--- trunk/phpgwapi/inc/class.html.inc.php (original)
+++ trunk/phpgwapi/inc/class.html.inc.php Thu Nov 5 09:40:57 2009
@@ -143,7 +143,9 @@
static function activate_links($content)
{
if (!$content || strlen($content) < 20) return $content; // performance
-
+ // this seems to be needed as the preg_replace to match things beginning with http:// (or other protocols)
+ // seems to be throwing out & and leaving &; - which is breaking links.
+ $content = htmlspecialchars_decode($content);
// Exclude everything which is already a link
$NotAnchor = '(?<!"|href=|href\s=\s|href=\s|href\s=)';
------------------------------------------------------------------------------
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