In the effiliation pluggin for prestashop, i've found this code:
$values->addChild('marque', '<![CDATA['.$product['manufacturer_name'].']]>');
when in $product['manufacturer_name']
, i have Cyril & Nathalie Daniel
, the output is <![CDATA[Cyril
,
as opposed to the normal case: <![CDATA[Foo Bar]]>
Can the 2nd argument of SimpleXMLElement::addChild can contain &
? Do i have to use some htmlentities on the manufacturer name ?