I have the following use case: a user should be able to enter in HTML input and it should be displayed as such. However, it can only contain <br>, <italic>, <strong>, <ul> or <li> tags.
I know about the safe filter, but that way it would allow every HTML input and be prone to XSS.
Any idea how I can solve this?
Thanks!