Html::encode()
Converts a string to an HTML-safe string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$string * | string |null |
– | |
$keepTags | bool |
false |
If true, existing tags won't be escaped |
Return type
string
Parent class
Kirby\Cms\Html
inherited from Kirby\Toolkit\Html