Skip to content

Commit

Permalink
Remove htmlspecialchars when adding node child
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaksimov committed Jun 2, 2017
1 parent e568b1c commit f482deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LukeSnowden/GoogleShoppingFeed/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private function addItemsToFeed()
foreach ($item->nodes() as $itemNode) {
if (is_array($itemNode)) {
foreach ($itemNode as $node) {
$feedItemNode->addChild($node->get('name'), htmlspecialchars($node->get('value')), $node->get('_namespace'));
$feedItemNode->addChild($node->get('name'), $node->get('value'), $node->get('_namespace'));
}
} else {
$itemNode->attachNodeTo($feedItemNode);
Expand Down

0 comments on commit f482deb

Please sign in to comment.