# h()

Shortcut for html()

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/helpers.php#L215>

****

```php
h(string|null $string, bool $keepTags = false): string
```

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$string` | `string` or `null` | – | unencoded text |
| `$keepTags` | `bool` | `false` | – |

## Return type

`string`