Answer the question
In order to leave comments, you need to log in
How to remove html entities from uploading to Yandex.Market in Bitrix?
In xml unloading in the field I unload PRVIEW_TEXT. Instead of brackets, a plus sign, etc., their html codes (& #40; & #41;, etc.) are obtained in the download. Why this happens - I have no idea. Which I haven't tried yet.
The code is simple:
$strOut .= "" . yandex_text2xml($arEach["NAME"], true) . "\n";
$strOut .= "" . yandex_text2xml($arEach["PREVIEW_TEXT"], true). ">\n";
The most interesting thing is that in name it is unloaded normally, and in description such nonsense
Maybe someone will tell you how to overcome this situation.
PS htmlspecialchars_decode - didn't help
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question