forked from extern/egroupware
changed quoting for wz_tooltips to allow linebreaks
This commit is contained in:
parent
7ac6dfb765
commit
bfab7d5a46
@ -93,7 +93,7 @@ class html
|
|||||||
}
|
}
|
||||||
if ($text === False) return ' onmouseover="'.$opt_out.'return escape(this.innerHTML);"';
|
if ($text === False) return ' onmouseover="'.$opt_out.'return escape(this.innerHTML);"';
|
||||||
|
|
||||||
return ' onmouseover="'.$opt_out.'return escape(\''.addslashes(@htmlentities(str_replace(array("\n","\r"),' ',$text),ENT_COMPAT,$this->charset)).'\')"';
|
return ' onmouseover="'.$opt_out.'return escape(\''.str_replace(array("\n","\r","'",'"'),array('<br />','',"\\'",'"'),$text).'\')"';
|
||||||
}
|
}
|
||||||
|
|
||||||
function activate_links($content)
|
function activate_links($content)
|
||||||
|
Loading…
Reference in New Issue
Block a user