❌ Kirby 2 no longer actively supported. 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