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