# $field->nl2br()

Converts all line breaks in the field content to `<br>` tags.

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/methods.php#L485>

****

```php
$field->nl2br(): Kirby\Content\Field
```

## Return type

`Kirby\Content\Field`

This method modifies the existing `$field` object it is applied to and returns it again.


## Examples

```php
<?= $page->subtitle()->nl2br() ?>
```