multiline($text)

Converts new lines in text to html breaks.

  • $text (string)
  • return (string)

Example

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

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