HTMLPurifier_Generator::escape
Escapes raw text data.
Signature
Parameters
$string
— object- data to escape for HTML.
$quote
— object- style, like htmlspecialchars. ENT_NOQUOTES is
permissible for non-attribute output.
Returns
- String
- escaped data.
Line | Task |
---|---|
177+ | This really ought to be protected, but until we have a facility for properly generating HTML here w/o using tokens, it stays public. |