Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
xml($text)
Converts any text to valid XML
$text
(string)
return
(string)
Example
<?= xml($page->text()) ?>
↑
Toolkit API overview
←
widont($text)
→
yaml($string)
↓
Back to Toolkit API section
Top