$field->html()

Converts the field content to valid HTML

  • return (string)

Example

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

Is something missing or incorrect? Edit this page on Github…