Aggiornamento librerie

This commit is contained in:
Pek5892 2023-06-19 15:13:59 +02:00
parent 4f1afb57a5
commit c3fa97f2e7
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
"ext-simplexml": "*",
"ext-xsl": "*",
"ext-zip": "*",
"aluguest/ical-easy-reader": "^1.5",
"devcode-it/ical-easy-reader": "dev-main",
"davidepastore/codice-fiscale": "^0.6.0",
"digitick/sepa-xml": "^2.1",
"dragonmantank/cron-expression": "^1.0",

View File

@ -55,7 +55,7 @@ class Sync extends Resource implements RetrieveInterface, UpdateInterface
$result .= "PRODID:-// OpenSTAManager\n";
foreach ($rs as $r) {
$richiesta = str_replace("\r\n", "\n", $r['richiesta']);
$richiesta = str_replace("\r\n", "\n", strip_tags($r['richiesta']));
$richiesta = str_replace("\r", "\n", $richiesta);
$richiesta = str_replace("\n", '\\n', $richiesta);