-
Notifications
You must be signed in to change notification settings - Fork 224
Closed

Description
Hi all
I am trying to sanitize a wysiwyg editor and noticed that the sanitizer uses the XHTML <br />
tag. My front end sends the HTML <br>
tag and can't get it to pass validation. I am using the following policy:
HtmlPolicyBuilder().allowCommonInlineFormattingElements().toFactory()
Am i missing something or I have to convert the <br>
tag to <br />
before passing validation?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels