multiline($text)

Converts new lines in text to html breaks.

  • $text (string)
  • return (string)

Example

<?= multiline($page->text()) ?>