diff --git a/src/Model/PersooArticleFeedItemFactory.php b/src/Model/PersooArticleFeedItemFactory.php index 2a5896b..f500b29 100644 --- a/src/Model/PersooArticleFeedItemFactory.php +++ b/src/Model/PersooArticleFeedItemFactory.php @@ -4,6 +4,7 @@ namespace Shopsys\ArticleFeed\PersooBundle\Model; +use Shopsys\FrameworkBundle\Component\String\TransformString; use Shopsys\FrameworkBundle\Model\Feed\FeedItemImageHelper; class PersooArticleFeedItemFactory @@ -19,7 +20,7 @@ public function create(array $articleData, int $itemNumber): PersooArticleFeedIt $itemNumber, $articleData['name'], $articleData['url'], - $articleData['text'], + TransformString::convertHtmlToPlainText($articleData['text']), $this->getImageUrl($articleData), ); } diff --git a/src/Resources/views/feed.xml.twig b/src/Resources/views/feed.xml.twig index 27fdadd..010b0f4 100644 --- a/src/Resources/views/feed.xml.twig +++ b/src/Resources/views/feed.xml.twig @@ -8,7 +8,7 @@