diff --git a/application/dashboard.class.inc.php b/application/dashboard.class.inc.php index bfc89e4885..dfcbf3ee84 100644 --- a/application/dashboard.class.inc.php +++ b/application/dashboard.class.inc.php @@ -1268,8 +1268,8 @@ public function RenderEditor($oPage, $aExtraParams = array()) $sLayoutClass = utils::HtmlEntities($this->sLayoutClass); $sAutoReload = $this->bAutoReload ? 'true' : 'false'; $sAutoReloadSec = (string) $this->iAutoReloadSec; - $sTitle = utils::HtmlEntities($this->sTitle); - $sFile = utils::HtmlEntities($this->GetDefinitionFile()); + $sTitle = utils::EscapeHtml($this->sTitle); + $sFile = addslashes($this->GetDefinitionFile()); $sUrl = utils::GetAbsoluteUrlAppRoot().'pages/ajax.render.php'; $sReloadURL = $this->GetReloadURL();