I added this code to my site to have text sanitization:
var re = /(<([^>]+)>)/gi;
for (i=0; i < arguments.length; i++){
arguments[i].value=arguments[i].value.replace(re, "");
}
But somehow people are able to use the tag and still be able to post pics on my website through the text area. Please let me know if i have the code wrong.
PS: Users were also getting away with tags as well.