update DROM XML generation - add html entities conversion
This commit is contained in:
parent
cbd1d9a5c2
commit
d510e85c24
@ -508,7 +508,7 @@ class DromXMLGenerator
|
|||||||
$offer->addChild($k, $v);
|
$offer->addChild($k, $v);
|
||||||
}
|
}
|
||||||
|
|
||||||
$offer->addChild("Additional", "Артикул: ".$entry['CODE']."\n".str_replace([" ", "<br>", "<br/>"], [" ", "", ""], strip_tags($entry['DETAIL_TEXT'])));
|
$offer->addChild("Additional", "Артикул: ".$entry['CODE']."\n".htmlentities(str_replace([" ", "<br>", "<br/>"], [" ", "", ""], strip_tags($entry['DETAIL_TEXT']))));
|
||||||
|
|
||||||
if(count($entry['PHOTOS_1080']) > 0)
|
if(count($entry['PHOTOS_1080']) > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user