N°4481 Fix dialog title being escaped twice following 99a0e0c commit

This commit is contained in:
Stephen Abello
2021-12-10 11:10:42 +01:00
parent 4771908f42
commit 4f27f3ac37

View File

@@ -704,7 +704,7 @@ JS
HTML
);
$sDialogTitleSanitized = addslashes(utils::EscapeHtml($sTitle));
$sDialogTitleSanitized = addslashes(utils::HtmlToText($sTitle));
$oPage->add_ready_script(<<<JS
$('#ac_dlg_{$this->iId}').dialog({
width: $(window).width()*0.8,