diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index 1f4483a8e0..aa7f817eff 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -94,7 +94,7 @@ class html } if ($text === False) return ' onmouseover="'.$opt_out.'return escape(this.innerHTML);"'; - return ' onmouseover="'.$opt_out.'return escape(\''.str_replace(array("\n","\r","'",'"'),array('
','',"\\'",'"'),$text).'\')"'; + return ' onmouseover="'.$opt_out.'return escape(\''.str_replace(array("\n","\r","'",'"'),array('','',"\\'",'"'),$text).'\')"'; } function activate_links($content)