When saving content in the First Comment field, apostrophes are being escaped and displayed incorrectly after saving.
Example entered:
It's previously hidden conditions becoming visible once work begins.
After saving and reopening, the text appears as:
It\'s previously hidden conditions becoming visible once work begins.
In some cases multiple backslashes are added.
The issue appears to be limited to the First Comment field. I have not observed the same behavior in the main LinkedIn post text.
Steps to reproduce:
Expected result:
Apostrophes remain unchanged.
Actual result:
Backslashes are inserted before apostrophes and are displayed in the editor.
eg., (It\'s, isn\'t, don\'t, etc.).
Example entered:
It's previously hidden conditions becoming visible once work begins.
After saving and reopening, the text appears as:
It\'s previously hidden conditions becoming visible once work begins.
In some cases multiple backslashes are added.
The issue appears to be limited to the First Comment field. I have not observed the same behavior in the main LinkedIn post text.
Steps to reproduce:
- Open a scheduled social media post.
- Enable First Comment.
- Enter text containing apostrophes (It's, isn't, don't, etc.).
- Save Draft.
- Reopen the scheduled post.
Expected result:
Apostrophes remain unchanged.
Actual result:
Backslashes are inserted before apostrophes and are displayed in the editor.
eg., (It\'s, isn\'t, don\'t, etc.).
Comment