$field->html()

Converts the field content to valid HTML

  • return (string)

Example

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