This commit is contained in:
bgigon 2004-07-27 15:52:53 +00:00
parent 5c9203338b
commit d3a97b6813

View File

@ -93,7 +93,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('\n','',"\\'",'"'),$text).'\')"';
return ' onmouseover="'.$opt_out.'return escape(\''.str_replace(array("\n","\r","'",'"'),array('<br/>','',"\\'",'&quot;'),$text).'\')"';
}
function activate_links($content)