From 0ffb9e866275ce698aa228f01734359c26068e3d Mon Sep 17 00:00:00 2001 From: shap Date: Wed, 3 Jun 2020 17:02:10 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D0=A1=D0=B8=D0=BC=D0=B2=D0=BE=D0=BB=D1=8B?= =?UTF-8?q?=20"=20&=20>=20<=20'=20=D0=BD=D1=83=D0=B6=D0=BD=D0=BE=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BC=D0=B5=D0=BD=D1=8F=D1=82=D1=8C=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=8D=D0=BA=D0=B2=D0=B8=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=BD=D1=8B=D0=B5=20=D0=BA=D0=BE=D0=B4=D1=8B=20https://yandex.?= =?UTF-8?q?ru/support/partnermarket/export/yml.html#requirements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Offer/SimpleOffer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Offer/SimpleOffer.php b/src/Offer/SimpleOffer.php index 992dbaf..9979746 100644 --- a/src/Offer/SimpleOffer.php +++ b/src/Offer/SimpleOffer.php @@ -48,7 +48,7 @@ public function getName() */ public function setName($value) { - $this->name = $value; + $this->name = html_entity_decode($value); return $this; } From acf9504820b5f55adf8a24f01d154863318894ce Mon Sep 17 00:00:00 2001 From: shap Date: Wed, 3 Jun 2020 17:02:10 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=A1=D0=B8=D0=BC=D0=B2=D0=BE=D0=BB=D1=8B?= =?UTF-8?q?=20"=20&=20>=20<=20'=20=D0=BD=D1=83=D0=B6=D0=BD=D0=BE=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BC=D0=B5=D0=BD=D1=8F=D1=82=D1=8C=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=8D=D0=BA=D0=B2=D0=B8=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=BD=D1=8B=D0=B5=20=D0=BA=D0=BE=D0=B4=D1=8B=20https://yandex.?= =?UTF-8?q?ru/support/partnermarket/export/yml.html#requirements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Offer/SimpleOffer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Offer/SimpleOffer.php b/src/Offer/SimpleOffer.php index 992dbaf..6b85e58 100644 --- a/src/Offer/SimpleOffer.php +++ b/src/Offer/SimpleOffer.php @@ -48,7 +48,7 @@ public function getName() */ public function setName($value) { - $this->name = $value; + $this->name = htmlspecialchars_decode($value, ENT_XHTML | ENT_QUOTES); return $this; }