Magento2导出商品带双引号信息

Magento2 导出excel时,字符串中有引号,需要将一个双引号变为两个双引号,这样导出后才能正常显示引号。

$imageLinks  = '';
            foreach ($images as $image) {
                $arr = $image->getData();
                $imageLinks = $imageLinks . $arr['url'] .',';
            }

            $additionalImageLink = substr($imageLinks, 0, -1);
            //$imageLinks = $additionalImageLink;
            $imageLinks = substr($additionalImageLink,0,strpos($additionalImageLink, ','));
//下面是添加2个双引号
            $additionalImageLink = '""'.$additionalImageLink .'""';