Horizontal ruler <hr> get stripped out of Rich Text Area

Hello,
when I add a horizontal ruler in a Rich Text Area, it gets stripped out on saving.
The string reaching the entity setter is in fact <div></div><div><br></div>.

Maybe related also the fact that, enabling html on a Label, <hr> are ignored in the visualization. Is it simply the case of <hr> not being supported?

Hello @sadoun.jacob,

You could try to disable html sanitization for your RichTextArea component:

richTextArea.setHtmlSanitizerEnabled(false);

Currently, the HtmlSanitizer does not process the <hr/> element and cuts it out. For this problem, we already have an issue on the Github.

Regards,
Gleb