$field->html()

Converts the field content to valid HTML

Example

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