First thing would be to convert all "&" to "& amp;", "<" to "& lt ;" to ">" and so on.
Have a document which will have the list of all allowable tags. Comeback and make another replace on the allowable tags. Only, instead of looking for tags look for a sequence of "& lt ; p & gt ;" for the paragraph tag.
First thing would be to convert all "&" to "& amp;", "<" to "& lt ;" to ">" and so on.
Have a document which will have the list of all allowable tags. Comeback and make another replace on the allowable tags. Only, instead of looking for tags look for a sequence of "& lt ; p & gt ;" for the paragraph tag.
This should probably cover all malicious scripts.
I don't see why Lotusscript can't handle this.