DROM XML converstion changed to htmlspecialchars

This commit is contained in:
merelendor 2024-06-28 15:26:35 +03:00
parent d510e85c24
commit eeb33e41b7

View File

@ -508,7 +508,7 @@ class DromXMLGenerator
$offer->addChild($k, $v);
}
$offer->addChild("Additional", "Артикул: ".$entry['CODE']."\n".htmlentities(str_replace(["&nbsp;", "<br>", "<br/>"], [" ", "", ""], strip_tags($entry['DETAIL_TEXT']))));
$offer->addChild("Additional", "Артикул: ".$entry['CODE']."\n".htmlspecialchars(str_replace(["&nbsp;", "<br>", "<br/>"], [" ", "", ""], strip_tags($entry['DETAIL_TEXT']))));
if(count($entry['PHOTOS_1080']) > 0)
{