Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
multiline($text)
Converts new lines in text to html breaks.
$text
(string)
return
(string)
Example
<?= multiline($page->text()) ?>
↑
Toolkit API overview
←
memory()
→
param($key = null, $default = null)
↓
Back to Toolkit API section
Top