Clean description text from HTML special chars

This commit is contained in:
Björn Fromme
2018-10-29 15:21:39 +01:00
parent 21fc292311
commit b61ab89cef
@@ -160,6 +160,7 @@ class ResellerController extends ActionController
$description = preg_replace( "/\r|\n/", ' ', $product['description']); $description = preg_replace( "/\r|\n/", ' ', $product['description']);
$description = strip_tags($description); $description = strip_tags($description);
$description = htmlspecialchars_decode($description);
fputcsv($fileHandle, [ fputcsv($fileHandle, [
$product['@id'], $product['@id'],