After updating an installation from eZ Publish 4.5 to 5.4, non-breaking spaces in existing contents are displayed in the frontend as " ".
This was a non-issue In legacy as the frontend still displayed spaces correctly, however it can be verified using 5.x / twig
Re-publishing them manually resolves the problem, however this is not possible to do on the whole database.
The way that nb spaces were saved to DB appears to have been fixed in
EZP-18220, however no update script was provided.
A valid solution to this issue would be an update script to update all the contents without manual interaction.
- Create an xml text content with the following (as it was stored to DB in eZP < 4.5):
- Verify the content is not displayed correctly in frontend
- (optional) verify the content is displayed correctly in legacy mode