$field->html()

Converts the field content to valid HTML

  • return (string)

Example

<h1><?= $page->title()->html() ?></h1>