$field->widont()

Avoids typographical widows in strings by replacing the last space with  

  • return (string)

Example

<?= $page->title()->widont() ?>

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