How can i validate input to stop users from add special characters like html code or any code for security wise
example:
Discussion posts and replies are publicly visible
I found this function striphtml() , but if i need fix to be common because it will be big task to revisit all text component