mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
preserve already correctly quoted single quotes
This commit is contained in:
parent
01461852ed
commit
4731a59075
@ -97,7 +97,7 @@
|
||||
{
|
||||
if (!empty($this->body[$what]))
|
||||
{
|
||||
$js .= ' '.$what.'="' . str_replace(array('"','\\'),array('\\"','\\\\'),$this->body[$what]) . '"';
|
||||
$js .= ' '.$what.'="' . str_replace(array('\\\'','"','\\','''),array(''','\\"','\\\\','\\\''),$this->body[$what]) . '"';
|
||||
}
|
||||
}
|
||||
return $js;
|
||||
|
Loading…
Reference in New Issue
Block a user