Clean description text from HTML special chars
This commit is contained in:
@@ -160,6 +160,7 @@ class ResellerController extends ActionController
|
||||
|
||||
$description = preg_replace( "/\r|\n/", ' ', $product['description']);
|
||||
$description = strip_tags($description);
|
||||
$description = htmlspecialchars_decode($description);
|
||||
|
||||
fputcsv($fileHandle, [
|
||||
$product['@id'],
|
||||
|
||||
Reference in New Issue
Block a user