$fieldMethods->nl2br()
Converts all line breaks in the field content to <br> tags.
$fieldMethods->nl2br(): FieldMethods
Return type
Kirby\Content\FieldMethods
This method does not modify the existing $fieldmethods object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Content\FieldMethods