Conversion of HTML symbol representation into the real symbol representation - CKEditor

0
Hi Mendix forum family, Is there any way to convert the HTML symbol used in CKEditor for Mendix into the real representation of the symbols entered on page? To be precise:       When the symbol entered from the page in (CKEditor) is used for pdf generation, then instead of symbol, the HTML string appears on the document.      Below is the example of the problem:       The “Test” from below has been entered from the page, but instead of the symbol, the HTML construction (Above) appears on the document.  Every suggestion of how to solve this is more then welcome.  Thank you,  Kind regards, Aleksandar  
asked
2 answers
1

In the community commons you have two functions that are of use: HTMLToPlainText  and XSSSanitize. You should at least use the last one when using the CKEditor.

Regards,

Ronald

 

answered
0

You can use this function to remove HTML tags from the string.

replaceAll(str,"\\<.*?\\>", "")

answered