elementor / elementor/elementor

⌛ đŸ§© CR characters appear in the Content of Products edited with Elementor when exported to CSV using the native WooCommerce export tool

Open
#30,393 1 comment 0 reactions 0 assignees View on GitHub
compatibility/3rd-party integration/woocommerce integrations mod* mod/b* mod/e* product/pro status/evaluating type/content-management
Dominant language
PHP
Stars
7.1k
Forks
1.6k
Avg merge
1d 5h
Merged PRs (30d)
193

Description

### Prerequisites

- [x] I have searched for similar issues in open and closed tickets and cannot find a duplicate.
- [ ] I have troubleshooted my issue, and it still exists against the latest stable version of Elementor.

### Description

Elementor adds CR characters in pages and when I want to export my WooCommerce products to CSV it causes problems because it is interpreted as a start of line. See screenshot.

![Image](https://github.com/user-attachments/assets/953ca829-7696-45df-99b8-55423f115521)

### Steps to reproduce

Create a WooCommerce product page with Elementor
Export with WooCommerce / Products / All products / Export button
Select All Columns (or not), All products (or not), All catégories (or not), Generate CSV.
Try to open CSV file with NotePad++ and you see CR characters.

### Expected behavior

CSV export without CR characters !

### Isolating the problem

- [ ] This bug happens when only the Elementor (and Elementor Pro) plugins are active.
- [ ] This bug happens with the Hello Elementor theme active.
- [ ] I can reproduce this bug consistently by following the steps I described above.

### Elementor System Info

Click to reveal

````txt

== Server Environment ==
Operating System: Linux
Software: LiteSpeed
MySQL version: MariaDB Server v10.11.10-MariaDB
PHP Version: 8.3.16
PHP Memory Limit: 512M
PHP Max Input Vars: 5000
PHP Max Post Size: 256M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 6.7.2
Site URL: https://www.greennature.fr
Home URL: https://www.greennature.fr
WP Multisite: No
Max Upload Size: 256 Mo
Memory limit: 512M
Max Memory limit: 512M
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Language: fr_FR
Timezone: Europe/Paris
Debug Mode: Inactive

== Theme ==
Name: XStore Child
Version: 0.0.1
Author: 8theme
Child Theme: Yes
Parent Theme Name: Xstore
Parent Theme Version: 9.4.8
Parent Theme Author: 8theme

== User ==
Role: administrator
WP Profile lang: fr-FR
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0

== Active Plugins ==
Advanced Shipment Tracking for WooCommerce
Version: 3.7.6
Author: zorem

Ajax Search Pro
Version: 4.26.16
Author: Ernest Marcinko

BEAR – Bulk Editor and Products Manager Professional for WooCommerce
Version: 2.1.4.3
Author: realmag777

Contact Form 7
Version: 6.0.4
Author: Takayuki Miyoshi

Cookie Notice & Compliance for GDPR / CCPA
Version: 2.5.5
Author: Hu-manity.co

Easy WP SMTP
Version: 2.9.0
Author: Easy WP SMTP

Elementor
Version: 3.27.6
Author: Elementor.com

Elementor Pro
Version: 3.27.3
Author: Elementor.com

Flamingo
Version: 2.5
Author: Takayuki Miyoshi

Friendly Captcha for WordPress
Version: 1.15.13
Author: Friendly Captcha GmbH

JetSmartFilters
Version: 3.6.2
Author: Crocoblock

JetWooBuilder For Elementor
Version: 2.1.17
Author: Crocoblock

LiteSpeed Cache
Version: 6.5.4
Author: LiteSpeed Technologies

Loco Translate
Version: 2.7.1
Author: Tim Whitlock

Mailchimp for WooCommerce
Version: 5.2
Author: Mailchimp

Matomo Analytics - Ethical Stats. Powerful Insights.
Version: 5.2.0
Author: Matomo

MC4WP: Mailchimp for WordPress
Version: 4.10.1
Author: ibericode

Payment Plugins for Stripe WooCommerce
Version: 3.3.82
Author: Payment Plugins, support@paymentplugins.com

PDF Invoices & Packing Slips for WooCommerce
Version: 4.1.1
Author: WP Overnight

PDF Invoices & Packing Slips for WooCommerce - Premium Templates
Version: 2.22.0
Author: WP Overnight

PDF Invoices & Packing Slips for WooCommerce - Professional
Version: 2.15.13
Author: WP Overnight

PWF - WooCommerce Products Filter
Version: 1.9.8
Author:

Site Reviews
Version: 7.2.6
Author: Paul Ryley

Ultimate Addons for Elementor Pro
Version: 1.38.0
Author: Brainstorm Force

WooCommerce
Version: 9.6.2
Author: Automattic

WooCommerce Dynamic Pricing & Discounts
Version: 2.4.6
Author: RightPress

WooCommerce Weight Based Shipping
Version: 6.5.0
Author: weightbasedshipping.com

Wordfence Security
Version: 8.0.3
Author: Wordfence

XStore Core
Version: 5.4.8
Author: 8theme

Yoast SEO
Version: 24.5
Author: Team Yoast

Yoast SEO: WooCommerce
Version: 15.7
Author: Team Yoast

Yoast SEO Premium
Version: 20.6
Author: Team Yoast

== Must-Use Plugins ==
Elementor Safe Mode
Version: 1.0.0
Author: Elementor.com

== Features ==
Custom Fonts: 1
Custom Icons: 0

== Integrations ==

recaptcha_v3: Active
woocommerce: Active

== ExpĂ©riences d’Elementor ==
Polices d’icĂŽnes « inline Â»: Actif
Points d’arrĂȘt personnalisĂ©s supplĂ©mentaires: Actif par dĂ©faut
Conteneur: Inactif par défaut
Mettre à niveau la bibliothÚque Swiper: Actif par défaut
Balisage optimisé: Inactif par défaut
IntĂ©gration d’extension: Actif par dĂ©faut
Load Google Fonts locally: Inactif par défaut
Default to New Theme Builder: Actif par défaut
Écran d’accueil Elementor: Actif par dĂ©faut
Pages d’atterrissage: Actif par dĂ©faut
ÉlĂ©ments imbriquĂ©s: Inactif par dĂ©faut
Barre supĂ©rieure de l’éditeur: Actif par dĂ©faut
Panneau des pages: Inactif par défaut
Mise en cache d’élĂ©ments: Inactif par dĂ©faut
Lien en bio: Actif par défaut
Boutons flottants: Actif par défaut
ÉvĂšnements de l’éditeur Elementor: Inactif par dĂ©faut
Atomic Widgets: Inactif par défaut
Classes globales: Inactif par défaut
Launchpad Checklist: Inactif par défaut
Menu: Inactif par défaut

== Journal ==

Log: showing 20 of 412025-02-02 20:15:51 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.27.0',
'to' => '3.27.2',
)]
2025-02-12 09:32:51 [info] elementor::elementor_updater Started
2025-02-12 09:32:51 [info] Elementor/Upgrades - _on_each_version Start
2025-02-12 09:32:51 [info] Elementor/Upgrades - _on_each_version Finished
2025-02-12 09:32:51 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.27.2',
'to' => '3.27.3',
)]
2025-02-12 09:37:12 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor Pro',
'from' => '3.26.2',
'to' => '3.27.3',
)]
2025-02-12 09:37:12 [info] elementor-pro::elementor_pro_updater Started
2025-02-12 09:37:12 [info] Elementor Pro/Upgrades - _on_each_version Start
2025-02-12 09:37:12 [info] Elementor Pro/Upgrades - _on_each_version Finished
2025-02-12 09:37:12 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '3.26.2',
'to' => '3.27.3',
)]
2025-02-15 09:11:07 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.27.3',
'to' => '3.27.4',
)]
2025-02-15 09:11:07 [info] elementor::elementor_updater Started
2025-02-15 09:11:07 [info] Elementor/Upgrades - _on_each_version Start
2025-02-15 09:11:07 [info] Elementor/Upgrades - _on_each_version Finished
2025-02-15 09:11:07 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.27.3',
'to' => '3.27.4',
)]
2025-02-15 09:11:08 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.27.3',
'to' => '3.27.4',
)]
2025-02-21 12:37:58 [info] elementor::elementor_updater Started
2025-02-21 12:37:58 [info] Elementor/Upgrades - _on_each_version Start
2025-02-21 12:37:58 [info] Elementor/Upgrades - _on_each_version Finished
2025-02-21 12:37:58 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.27.4',
'to' => '3.27.6',
)]

PHP: showing 1 of 1PHP: 2025-02-19 08:34:46 [warning X 2][../elementor-pro/modules/forms/classes/ajax-handler.php::76] Undefined array key "form_id" [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]

== Elementor - Compatibility Tag ==

Elementor Pro: Compatibilité non spécifiée
JetWooBuilder For Elementor: Compatibilité non spécifiée
Ultimate Addons for Elementor Pro: Compatibilité non spécifiée

== Elementor Pro - Compatibility Tag ==

````

### Agreement

- [x] I agree that my issue may be closed without action if it doesn't meet all the requirements.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.