HTMLpurifier how to that instead of deleting any tags (e.g. script) it handles them with the htmlspecialchars function? I want that instead of removing the tag, he made him incompetent.
The setting Core.EscapeInvalidTags
should be what you're looking for.