MessageSanitizer
object MessageSanitizer
Strips unsafe HTML/script content from incoming message text before it is rendered, and flags links using dangerous URI schemes.
Functions
Link copied to clipboard
Returns false if url uses a javascript:, data:, or vbscript: scheme.
Link copied to clipboard
Removes HTML tags and truncates raw to MAX_LENGTH, returning a SanitizedText.