I have a website with CKEditor, To prevent XSS attacks I used strip_tags but the problem is that it also breaks the WYISWYG editor (CKEditor).
Like, stackoverflow is secure to XSS attacks BUT it does not block any tags.
How can I acomplish the same effect?
I want users to be able to share code