What happened?
Description
It seems rich text fields like CKEditor strip out some invisible but necessary characters in some languages like Persian/Farsi.
Steps to reproduce
- In a rich text field, paste this text:
میشویم
- Hit save. Now the text shows as
میشویم
Expected behavior
I would expect the text to remain as میشویم
Actual behavior
The zero with non-joiner in the middle of those characters is stripped out, causing unwanted ligatures.
Craft CMS version
5 and 4
PHP version
8.1+
Operating system and version
No response
Database type and version
MySQL 8.1
Image driver and version
No response
Installed plugins and versions
What happened?
Description
It seems rich text fields like CKEditor strip out some invisible but necessary characters in some languages like Persian/Farsi.
Steps to reproduce
میشویممیشویمExpected behavior
I would expect the text to remain as
میشویمActual behavior
The zero with non-joiner in the middle of those characters is stripped out, causing unwanted ligatures.
Craft CMS version
5 and 4
PHP version
8.1+
Operating system and version
No response
Database type and version
MySQL 8.1
Image driver and version
No response
Installed plugins and versions