forked from extern/egroupware
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