diff --git a/intaro.intarocrm/classes/general/ICMLLoader.php b/intaro.intarocrm/classes/general/ICMLLoader.php index b976454e..11ff286b 100644 --- a/intaro.intarocrm/classes/general/ICMLLoader.php +++ b/intaro.intarocrm/classes/general/ICMLLoader.php @@ -40,7 +40,10 @@ class ICMLLoader { protected function PrepareValue($text) { - return $this->application->ConvertCharset($text, LANG_CHARSET, $this->encoding); + $newText = $this->application->ConvertCharset($text, LANG_CHARSET, $this->encoding); + $newText = strip_tags($newText); + $newText = str_replace("&", "&", $newText); + return $newText; } protected function PrepareFile()