Reported for: WPML Multilingual CMS 4.5.14
Resolved in: 4.6.0
Overview of the issue
If you are using custom blocks, particularly with the Advanced Custom Fields plugin, you will notice that it adds some empty <p></p> tags when you translate them with WPML.
Please, be sure of making a full backup of your site before preoceding.
- Open the /wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Gutenberg/class-wpml-gutenberg-integration.php file.
$content = wpautop( $block->innerHTML );
$content = ( $block->innerHTML );