modifier.purify.php
Tags
Table of Contents
Functions
- smarty_modifier_purify() : string
- Purify HTML to mitigate against XSS attacks
Functions
smarty_modifier_purify()
Purify HTML to mitigate against XSS attacks
smarty_modifier_purify(string $text) : string
Parameters
- $text : string
-
Input text, potentially containing XSS
Return values
string —Output text, containing only clean HTML