1
0
mirror of synced 2024-11-25 14:56:09 +03:00

bugfix with &

This commit is contained in:
m.korolev 2013-08-20 13:06:31 +04:00
parent 04ea0ea00e
commit 57335ffb54

View File

@ -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()