RichTextArea disable sanitize

Is there any way to disable the sanitization / escaping that happens when getting the value from a RichTextArea?
For example if I add the following string:

if !$ > 10 && $person.age > 10

when getting the value, the ampersand will be replaced with

I think it is very deep in the GWT’s RichTextArea, and its getHTML() implementation.

So answer is not easy to do and kind of it is meant to work this way.

I do have a solution to this, and it’s a hack to be honest :slight_smile: I have a spring boot app with vaadin and I can use spring’s
but I was thinking that maybe there is a way to do this using only vaadin.Thanks for the reply.