This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with line breaks in the Divi 'Call to Action' module titles not translating correctly and appearing as visible HTML tags in French, we can help.
Solution:
1. Navigate to WPML > Settings > Custom XML Configuration.
2. Add the following XML configuration to allow HTML tags in the titles:
<wpml-config>
<shortcodes>
<shortcode>
<tag label="Call To Action: Content">et_pb_cta</tag>
<attributes>
<attribute label="Call To Action: Title" encoding="allow_html_tags">title</attribute>
<attribute label="Call To Action: Title (phone)">title_phone</attribute>
<attribute label="Call To Action: Title (tablet)">title_tablet</attribute>
<attribute label="Call To Action: Title (hover)" encoding="allow_html_tags">title__hover</attribute>
<attribute label="Call To Action: Admin Label">admin_label</attribute>
<attribute label="Call To Action: Content (phone)" encoding="allow_html_tags">content_phone</attribute>
<attribute label="Call To Action: Content (tablet)" encoding="allow_html_tags">content_tablet</attribute>
<attribute label="Call To Action: Content (hover)" encoding="allow_html_tags">content__hover</attribute>
<attribute label="Call To Action: Button Text">button_text</attribute>
<attribute label="Call To Action: Button Text (phone)">button_text_phone</attribute>
<attribute label="Call To Action: Button Text (tablet)">button_text_tablet</attribute>
<attribute label="Call To Action: Button URL" type="link">button_url</attribute>
<attribute label="Call To Action: Option URL" type="link">link_option_url</attribute>
<attribute label="Call To Action: Background Image" type="media-url">background_image</attribute>
<attribute label="Call To Action: Background Image (hover)" type="media-url">background_image__hover</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>
3. Resave your original page and then resave your translation.
If this solution does not resolve your issue or seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 0 reply, has 0 voices.
Last updated by 9 months, 1 week ago.
Assisted by: Waqas Bin Hasan.


