$field->nl2br()
Converts all line breaks in the field content to <br> tags.
$field->nl2br(): Kirby\Content\FieldReturn type
This method modifies the existing $field object it is applied to and returns it again.
Examples
<?= $page->subtitle()->nl2br() ?>