PM-1744 No se pueden adjuntar archivos en el editor de Templates

Causa: Leve conflicto con el manejo del .html
Solicion: Hacer un barrido del .html y realizar reamplazos a ciertos caracteres.
This commit is contained in:
dheeyi
2015-03-06 10:00:34 -04:00
parent 3839f82f35
commit eb8b416d1b

View File

@@ -37,6 +37,7 @@ function uploadContentFile()
$DestPath = sys_get_temp_dir();
$aux='';
$cadena=str_replace ("\r\n","",file_get_contents(htmlentities($FileObject['tmp_name'])));
$cadena=str_replace ('"',"'",$cadena);
updateEditorContent(trim($cadena));
closeWindow();
}