I have text from a summernote input field that I want to santise in my server action.
I’d like to be able to have all the HTML tags stripped except for an allowed list.
In PHP, I can do it like this:
$input = strip_tags($input, '<b><i><a>');
It looks like the Wappler strip_tags function doesn’t take any parameters to allow this… is this the case?
Would I need to write my own PHP function to do this?
Thanks!
Antony.