$field->html()
Converts the field content to valid HTML
$field->html(): Kirby\Cms\Field
Return type
Aliases
You can use the following aliases for this field method in your template:
$field->h(…)
Example
<h1><?= $page->title()->html() ?></h1>
Converts the field content to valid HTML
$field->html(): Kirby\Cms\Field
You can use the following aliases for this field method in your template:
$field->h(…)
<h1><?= $page->title()->html() ?></h1>