I'm looking for a function to remove dangerous tags, such as script tags, from a HTML text. I believe this is a common action and there must be a predefined function. But I couldn't find it.
Could anyone tell me this kind of function?
I'm looking for a function to remove dangerous tags, such as script tags, from a HTML text. I believe this is a common action and there must be a predefined function. But I couldn't find it.
Could anyone tell me this kind of function?