diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php
index 0fb3ac54f0..efeafa0352 100644
--- a/phpgwapi/inc/class.html.inc.php
+++ b/phpgwapi/inc/class.html.inc.php
@@ -143,7 +143,9 @@ class html
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 = '(?