html()
Creates safe html by encoding special characters
Parameters
Name | Type | Default | Description |
---|---|---|---|
$string * | string |
– | unencoded text |
$keepTags | bool |
false |
Return type
string
Creates safe html by encoding special characters
Name | Type | Default | Description |
---|---|---|---|
$string * | string |
– | unencoded text |
$keepTags | bool |
false |
string