BeforeSanitizeHtmlArgs
23 Sep 20251 minute to read
Provides information about a BeforeSanitizeHtml event.
Properties
cancel boolean
Indicates whether the current action needs to be prevented.
helper Function
A callback function executed before the inbuilt action, which should return HTML as a string.
selectors SanitizeSelectors
Returns the selectors object containing both tags and attribute selectors to block cross-site scripting attacks.
It is also possible to modify the block list within this event.