Filters
Class methods
encode_angles(str : String) : String
HTML entity encode angle brackets (allows attribute-context bypass)
escape_double_quote(str : String) : String
Sourceescape_quotes(str : String) : String
Sourceescape_single_quote(str : String) : String
Sourcestrip_angles(str : String) : String
Sourcestrip_keyword_ci(str : String, keyword : String) : String
Case-insensitive keyword removal (bypassable via mixed case encoding)
strip_keyword_recursive(str : String, keyword : String) : String
Recursive keyword removal (handles double-insertion like <script>)
strip_parens(str : String) : String
Sourcestrip_spaces(str : String) : String
Sourcestrip_tags(str : String, tags : Array(String)) : String
Tag blacklist filter (removes specific tags but allows others)
whitelist_tags(str : String, allowed : Array(String)) : String
Whitelist filter (removes all tags except allowed ones)