WPML

Overview of the Issue

When you open the translation of a block editor page in the Classic Translation Editor and save it, each line break (<br>) inside a block text is lost. This happens also when you change nothing. The translated page then holds the characters &#13; in place of the line break, and the two lines run together.

The problem affects core blocks (for example a paragraph) and blocks of other plugins (for example GenerateBlocks texts).

Workaround

Until the fix is released, do not open and save the translation of such a page in the Classic Translation Editor. Translate the page with the Advanced Translation Editor. A page that you translate with the Advanced Translation Editor keeps its line breaks.

If a translated page already lost its line breaks, restore it:

  1. Back up the site.
  2. Open the translated page in the block editor.
  3. Click Revisions in the sidebar.
  4. Select the newest revision that still has the line breaks.
  5. Click Restore This Revision.

The restore repairs the page only. WPML still stores the translation without the line breaks. When the page is translated again, also with the Advanced Translation Editor, the line breaks are lost again, and you need to restore the page again.

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.