Expand my Community achievements bar.

In Rich Text Editor Special Character are getting stored as Special Character not as their HTML Entities

Avatar

Level 3

All,

We are using AEM 5.6.1 and we are facing an issue with storing special characters in RTE. We want to store special characters like trademark, copyright as html entiries instead of special characters. Is there a way we can store them as html entities? 

Regards,

Mayank

2 Replies

Avatar

Level 10

When you use plugin for the RTE, you get these  symbols and they are stored. What business requirement are you trying to address by storing them in a different location?

To do tjis, you would overlay the RTE and write custom app logic.

We do not want to store special characters at some other location rather we want when business authors edit RTE content and add any special characters, they should be stored as html entities instead of special characters.. We have on requirement to write this content edited through RTE in a file and store it in filesystem. This file is being referenced by an application which is getting ?? instead of special characters present in the file. It should be a very common usecase to store content as html entities instead of special characters when we already have defined html entities through special character config.

Regards,

Mayank